Replies: 3 comments 2 replies
-
|
I think I need to use on of these but I can't figure out how: |
Beta Was this translation helpful? Give feedback.
2 replies
-
|
It's been some time, and I think the answer to this question may have changed somewhat. AFAICT the best way of accomplishing this today is to add some empty text to the right of the button, like so: if ui.add(egui::Button::new("All Files").right_text("")).clicked() {
...
}Bit of a hack, but I could never get anything else to affect the text inside the button, just the button itself. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment




Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to Left align my text in a button but I am doing something wrong.
Here is a screenshot of how the text looks in the ui for a reference. I want the "All Files" text to align to the left. Any suggestions on how to accomplish this task?
Thanks,
matthew
Beta Was this translation helpful? Give feedback.
All reactions