summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/TextDocument.h
diff options
context:
space:
mode:
authorthankyouverycool <66646555+thankyouverycool@users.noreply.github.com>2023-04-02 13:26:02 -0400
committerAndreas Kling <kling@serenityos.org>2023-04-04 19:15:15 +0200
commit99f28cf4ac1ff6c3d46c875a1cc5d00d0d6f67fe (patch)
treed3c71cc2697a658dbe726498f83a7158f6d37bd3 /Userland/Libraries/LibGUI/TextDocument.h
parentbd46397e1fb5bb2db0c406427801039a2611bbe4 (diff)
downloadserenity-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