Open noaccessl opened 7 months ago
I suggest adding Panel.SetDrawOffsets( num x, num y ) for RichText and TextEntry.
Panel.SetDrawOffsets( num x, num y )
Modifying these text offsets would be convenient for creating unique RichTexts and TextEntries with custom design.
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
Please up
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