how to access css properties #2524
-
how to access css properties like border_radius
This marks an error in border_radius |
Beta Was this translation helpful? Give feedback.
Answered by
freakboy3742
Apr 22, 2024
Replies: 1 comment 3 replies
-
Toga's style language is very similar to CSS, but it is not CSS. The full specification for Pack, including all the style directives that are legal, can be found here.
|
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
There is no way to add "rounded corners to buttons", or make similar style changes. This is by design, and is unlikely to change.
Toga is a platform-native toolkit. It uses system native buttons to make the buttons in your app look like your operating system's button style. If you don't like how your operating system renders buttons, either take that up with your operating system vendor, or use a different GUI toolkit that doesn't use native system widgets (e.g., Kivy).