1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-19 20:05:07 +00:00

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.
This commit is contained in:
thankyouverycool 2022-08-17 19:38:46 -04:00 committed by Andreas Kling
parent 46d6347035
commit f833473df0
5 changed files with 2 additions and 5 deletions

View file

@ -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);