You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I create a slider with the code above the handle is placed above the slider.
The problem "goes away" when I just use the provided height but then I can't limit the height.
I can see this getting fixed in two ways, maybe both would be good.
add a handle_height variable
properly place the surface so its placed as expected
It looks like the widget uses all its *available space for the shape, even when wrapping the slider in a wibox.container.constraint or using forced_height = dpi(5)
*The space that the entire widget and its partent(a constraint with height = dpi(5) and strategy = 'exact') have in this layout
The text was updated successfully, but these errors were encountered:
This is not how you use shape. You only clipped what is drawn and the handle is still there in its full size, you didn't magically changed its height.
You mentioned wibox.container.constraint. I'm also having trouble getting it to work, I almost think there must be some bugs or the doc is not clear and I'm missing something.
However you can use other layouts. I tried wibox.layout.align and it works:
Output of
awesome --version
:awesome v4.3-1581-gc8016f0c (Too long)
How to reproduce the issue:
When I create a slider with the code above the handle is placed above the slider.
The problem "goes away" when I just use the provided height but then I can't limit the height.
I can see this getting fixed in two ways, maybe both would be good.
It looks like the widget uses all its *available space for the shape, even when wrapping the slider in a
wibox.container.constraint
or usingforced_height = dpi(5)
*The space that the entire widget and its partent(a constraint with
height = dpi(5)
andstrategy = 'exact'
) have in this layoutThe text was updated successfully, but these errors were encountered: