[GH-ISSUE #115] Separate slider value from display? #7091

Closed
opened 2026-05-23 02:52:27 +01:00 by JakeStanger · 4 comments
Owner

Originally created by @JustSimplyKyle on GitHub (Apr 22, 2023).
Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/115

Is your feature request related to a problem? Please describe.
I just want a volume bar, but I don't want it to have numbers floating on top?

Describe the solution you'd like
The non-breaking solution would be to let value accept floating point AND empty strings.
Imho, the better solution would be to create a separate field called display(or label) that accepts a string.
(and optionally gives the value by argument, $0)

Additional context
If this doesn't end up being implemented? Please tell me how to style this.
image

Originally created by @JustSimplyKyle on GitHub (Apr 22, 2023). Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/115 **Is your feature request related to a problem? Please describe.** I just want a volume bar, but I don't want it to have numbers floating on top? **Describe the solution you'd like** The non-breaking solution would be to let value accept floating point *AND* empty strings. Imho, the better solution would be to create a separate field called `display`(or `label`) that accepts a string. (and optionally gives the value by argument, `$0`) **Additional context** If this doesn't end up being implemented? Please tell me how to style this. ![image](https://user-images.githubusercontent.com/68589851/233788402-04d999dc-a3b9-40f3-a98a-d13f2fa813aa.png)
Author
Owner

@JakeStanger commented on GitHub (Apr 22, 2023):

The easier alternative here is just to add a show_label option which you can set to false to hide the label. GTK doesn't really offer much control over the label beyond that.

<!-- gh-comment-id:1518672068 --> @JakeStanger commented on GitHub (Apr 22, 2023): The easier alternative here is just to add a `show_label` option which you can set to false to hide the label. GTK doesn't really offer much control over the label beyond that.
Author
Owner

@JustSimplyKyle commented on GitHub (Apr 23, 2023):

uhh, why exactly is this closed? is the new option just not documented?
Although I did find a workaround. Just remeove it in css!

scale value {
	color: #77a5bf;
	font-size: 0px;
}
<!-- gh-comment-id:1518912196 --> @JustSimplyKyle commented on GitHub (Apr 23, 2023): uhh, why exactly is this closed? is the new option just not documented? Although I did find a workaround. Just remeove it in css! ```css scale value { color: #77a5bf; font-size: 0px; } ```
Author
Owner

@yavko commented on GitHub (Apr 23, 2023):

uhh, why exactly is this closed? is the new option just not documented?

I'm not sure myself, I checked the code and there is no show_label option added, all the code in the PR seems to be related to a step option.

<!-- gh-comment-id:1518995490 --> @yavko commented on GitHub (Apr 23, 2023): > uhh, why exactly is this closed? is the new option just not documented? I'm not sure myself, I checked the code and there is no `show_label` option added, all the code in the PR seems to be related to a `step` option.
Author
Owner

@JakeStanger commented on GitHub (Apr 23, 2023):

There was a discussion that lead to the linked PR, got them muddled

<!-- gh-comment-id:1519014335 --> @JakeStanger commented on GitHub (Apr 23, 2023): There was a discussion that lead to the linked PR, got them muddled
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
JakeStanger/ironbar#7091
No description provided.