BusyBar grows but does not shrink
Closed this issue · 2 comments
azurvii commented
- Place
BusyBar
in aTable
, which fills the window. - Resize the window to observe the bar's behavior.
It grows when the window is sized bigger, but it does not shrink when the window is sized smaller.
Code suggests that the height is constant. So it seems to be only about how the width is determined when the layout changes.
kotcrab commented
A possible fix is overriding getPrefWidth
and returning some constant value.
kotcrab commented
Fixed, thanks!