-
Notifications
You must be signed in to change notification settings - Fork 638
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The property font-size in Button does not work #2194
Comments
Thanks for reporting an issue. This property was an internal property at some point but it was not documented and was exported by mistake. There have been some request before to be able to customize a bit widgets such as background color, or, in this case, the font-size. (eg: #1232) May I ask what's the use case to increase the font of a button? Is it because you would like every button to have bigger fonts? Or is it just to emphasis a single Button? |
The default font size is too small for me and I think a bigger font would make it clearer for the user |
Perhaps you could change the default font size for all text elements using the |
It seems setting default-font-size for the window will affect other controls and I think it is necessary to set the font of each control individually as a gui framework, such as Qt |
I agree that we should have our standard widget more themable. |
The Button no longer expose this property in any style. |
code:
//hello.slint
//main.rs
Application:
env: linux, x11, kernel6.1.9
Both Qt5.15.8 and winit have the same problem
The text was updated successfully, but these errors were encountered: