diff options
author | thankyouverycool <66646555+thankyouverycool@users.noreply.github.com> | 2023-04-02 13:26:02 -0400 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-04-04 19:15:15 +0200 |
commit | 99f28cf4ac1ff6c3d46c875a1cc5d00d0d6f67fe (patch) | |
tree | d3c71cc2697a658dbe726498f83a7158f6d37bd3 /Userland/Libraries/LibGUI/TextDocument.h | |
parent | bd46397e1fb5bb2db0c406427801039a2611bbe4 (diff) | |
download | serenity-99f28cf4ac1ff6c3d46c875a1cc5d00d0d6f67fe.zip |
LibGUI: Remove calculated_min_size() for ListViews
Originally implemented to handle resizable ComboBox windows, this
"feature" no longer exists, so calculating min size is no longer
necessary. The calculation was also failing to account for dynamic
ListViews properly.
This patch simplifies things by setting ComboBox ListView's minimum size
explicitly and deferring to AbstractScrollableWidget's more flexible
calculated implementation otherwise.
Fixes FontPicker resizing incorrectly due to overly rigid ListViews.
Diffstat (limited to 'Userland/Libraries/LibGUI/TextDocument.h')
0 files changed, 0 insertions, 0 deletions