Describe the bug
When the font-size is kind of big, the height of the bar is expanded.
But I guess this might be a 'known issue' actually, because the widget documentation state this is not possible:
width: float width of this element. note that this can not restrict the size if the contents stretch it
height: float height of this element. note that this can not restrict the size if the contents stretch it
So if you feel this is more of a feature request, I'll surely adjust this issue accordingly.
Reproducing the issue
Set both the height for a bar window and the font size for some label or button to 34px.
The size of the window is extended beyond 34px.
For comparison you could change the font size to something really small like 10px to see the box shrink to its configured size of 34px
Expected behaviour
I would expect the window-size to stay fixed unless I provide a config flag auto-scale: true or something.
Use Case
I want to use some Nerd-Font glyphs as labels, but they are very tiny in height, so clipping the white above and below the glyph would not matter.
I am affraid though, this might be a limitation by GTK with no easy way to work around.
Describe the bug
When the font-size is kind of big, the height of the bar is expanded.
But I guess this might be a 'known issue' actually, because the widget documentation state this is not possible:
So if you feel this is more of a feature request, I'll surely adjust this issue accordingly.
Reproducing the issue
Set both the height for a
barwindow and the font size for somelabelorbuttonto34px.The size of the window is extended beyond 34px.
For comparison you could change the font size to something really small like
10pxto see the box shrink to its configured size of34pxExpected behaviour
I would expect the window-size to stay fixed unless I provide a config flag
auto-scale: trueor something.Use Case
I want to use some Nerd-Font glyphs as labels, but they are very tiny in height, so clipping the white above and below the glyph would not matter.
I am affraid though, this might be a limitation by GTK with no easy way to work around.