Adding TextEdit padding support #5235
Unanswered
ponchofiesta
asked this question in
Q&A
Replies: 1 comment 3 replies
-
TextEdit::margin already does that. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm trying to implement padding support for TextEdit widget. But actually the size of the widget is not big enough.
Sample code:
The changes to egui are in my fork:
ponchofiesta/egui@master...ponchofiesta:egui:feature/textedit-padding
I assumed this should enlarge the widget to fit text into it. But actually the text gets cut off. But the padding looks Ok so far. Only the text area needs to be bigger.
Could some one give me a hint how to fix this to make the widget big enough to make it work?
Beta Was this translation helpful? Give feedback.
All reactions