Replies: 2 comments 1 reply
-
The button from the std-widgets.slint are meant to look like "native" buttons. And you can't change their appearance. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Perhaps SurrealismUI's |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Am I right to think that a Button inherits its colour from the background of the element eg Rectangle it is sitting in?
Or can I set the colour of a Button? And the text colour?
I can see in Custom Widgets, that I can create my own button by inheriting rectangle (which does have a background colour) but then of course I have to set all of the other properties of a button too.
So is that code the way forwards?
Beta Was this translation helpful? Give feedback.
All reactions