Facepunch / garrysmod-requests

Feature requests for Garry's Mod
84 stars 24 forks source link

Expand the capabilities of TextEntry and RichText #2283

Open noaccessl opened 7 months ago

noaccessl commented 7 months ago

Details

I suggest adding Panel.SetDrawOffsets( num x, num y ) for RichText and TextEntry.

Modifying these text offsets would be convenient for creating unique RichTexts and TextEntries with custom design.

References

https://github.com/ValveSoftware/source-sdk-2013/blob/master/mp/src/vgui2/vgui_controls/RichText.cpp#L220 https://github.com/ValveSoftware/source-sdk-2013/blob/master/mp/src/vgui2/vgui_controls/TextEntry.cpp#L40

PolEpie commented 1 month ago

Please up