elementary / elementary/stylesheet

Gtk.Scale value wraps into two lines

Open
#1,066 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
SCSS
Stars
315
Forks
67
Avg merge
44m
Merged PRs (30d)
1

Description

## 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:

![Screenshot from 2021-08-01 17-01-26](https://user-images.githubusercontent.com/8205055/127773127-8104bafa-eab4-40a7-a8f2-38eb8c88e144.png)

For narrower text values like “31 min,” this does not occur.

I can work around this by doing this:

```css
scale value {
min-width: 40px;
}
```

But that’s a hack and probably a bad idea for internationalization.

## Expected Behavior

Text should not wrap.

## Steps to Reproduce

1. `git clone git@github.com:elfenware/badger.git`
2. Build it with meson using the instructions in the [readme](https://github.com/elfenware/badger#readme).

### Logs

Visual bug.

## Platform Information

Odin beta, with Badger compiled from the main branch. Display is 1366×768.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.