By default <property name="draw-value">True</property>, that's why is not explicitly declared -> GTK Doc
The value is shown at the right of the slider as <property name="value_pos">right</property> says.
The difference between nrows and the other 2 is that nrows has a maximum value of 6 (1 digit) while size and length have 128 and 100 (3 digits) respectively.
My idea is that the space reserved to the right for draw-value is calculated based on the maximum value possible for that slider. That explains why nrows is longer, it has "2 digits more space". This also explains why @philipzae workaround fixes the issue.
My idea is that the space reserved to the right for draw-value is calculated based on the maximum value possible for that slider. That explains why nrows is longer, it has "2 digits more space". This also explains why @philipzae workaround fixes the issue.
I was able to confirm my theory using Glade. I created 3 different sliders and the same behaviour happens.
How can I report this to gtk? (should I?)
The user should have the ability to set their panel to 100 rows
Add 2 spaces between the slider and the value
Replace the values with input fields where the user can manually input a value. These input fields auto update when the user moves the slider
Set <property name="draw-value">False</property> and use 3 GtkLabel placed to the right of every slider (using GtkGrid maybe), the logic to update those labels should be added to this dialog
If the user can only select up to 6 rows, maybe use 6 different buttons, like the Pathbar in Thunar. Elementary has Linked Buttons but i don't know if this is a GTK or Elementary thing
Nice ideas, but this shouldn't get to complicated to fix, so in my view if it isn't a simple fix we can do glade without touching the code, its likely not something we should spend time on.
Elementary has Linked Buttons but i don't know if this is a GTK or Elementary thing.
Its in Gtk as its there in whisker menu's properties dialog.