diff options
Diffstat (limited to 'src/gui/widgets/listbox.cpp')
-rw-r--r-- | src/gui/widgets/listbox.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/widgets/listbox.cpp b/src/gui/widgets/listbox.cpp index b6d31c239..ba6b47e22 100644 --- a/src/gui/widgets/listbox.cpp +++ b/src/gui/widgets/listbox.cpp @@ -73,7 +73,10 @@ ListBox::ListBox(const Widget2 *const widget, mRowHeight = font->getHeight() + 2 * mItemPadding; else mRowHeight = 13; +} +void ListBox::postInit() +{ adjustSize(); } |