summaryrefslogtreecommitdiff
path: root/Userland/Applications/SoundPlayer
diff options
context:
space:
mode:
authorthankyouverycool <66646555+thankyouverycool@users.noreply.github.com>2022-08-17 19:38:46 -0400
committerAndreas Kling <kling@serenityos.org>2022-08-25 13:28:50 +0200
commitf833473df0f73bbd29febee882b989102705e21d (patch)
treefacf9fabb5cb46badd304a7a5553394bf93dba97 /Userland/Applications/SoundPlayer
parent46d6347035357fb6ec49e21326e358e2e54557c8 (diff)
downloadserenity-f833473df0f73bbd29febee882b989102705e21d.zip
Apps+Demos+Dialogs: Remove unnecessary minimum window sizes
The new layout system conveniently calculates these for us now. In the case of Mandelbrot where it needs to be overriden, make sure to disable obey min widget size first. In EmojiInputDialog's case, the window needs to be resized instead to center correctly.
Diffstat (limited to 'Userland/Applications/SoundPlayer')
-rw-r--r--Userland/Applications/SoundPlayer/SoundPlayerWidgetAdvancedView.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/Userland/Applications/SoundPlayer/SoundPlayerWidgetAdvancedView.cpp b/Userland/Applications/SoundPlayer/SoundPlayerWidgetAdvancedView.cpp
index d7e1441129..b05d97119e 100644
--- a/Userland/Applications/SoundPlayer/SoundPlayerWidgetAdvancedView.cpp
+++ b/Userland/Applications/SoundPlayer/SoundPlayerWidgetAdvancedView.cpp
@@ -29,7 +29,6 @@ SoundPlayerWidgetAdvancedView::SoundPlayerWidgetAdvancedView(GUI::Window& window
, m_window(window)
{
window.resize(455, 350);
- window.set_minimum_size(600, 130);
window.set_resizable(true);
set_fill_with_background_color(true);