-
-
Notifications
You must be signed in to change notification settings - Fork 75
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
Gtk.Scale value wraps into two lines #1066
Comments
Update: I have pushed the workaround mentioned above, so if you clone Badger, make sure you comment this line. |
I had the same issue in a personal project, and found another workaround: using Unicode no-break spaces (U+00A0) instead of normal spaces to format the value, e.g. (Rust string format syntax): |
@yolenoyer Whoa, that's a great idea, and much cleaner than messing with CSS. I'll give it a shot. Thanks! |
What Happened
If the current value text of a GTK Scale exceeds a certain width, then the text wraps into two lines. Observe the value for Fingers:
For narrower text values like “31 min,” this does not occur.
I can work around this by doing this:
But that’s a hack and probably a bad idea for internationalization.
Expected Behavior
Text should not wrap.
Steps to Reproduce
git clone [email protected]:elfenware/badger.git
Logs
Visual bug.
Platform Information
Odin beta, with Badger compiled from the main branch. Display is 1366×768.
The text was updated successfully, but these errors were encountered: