UI: Remove top level size constraints

This removes the min and max size properties from the YouTube "Manage
Broadcast" dialog. Such values depend on the actual content or very
precise layout management, making hardcoded values prone to being
incorrect. To avoid incorrect values we should avoid these settings on
top level widgets/windows.

This pattern can lead to crashes on Wayland compositors like
GNOME which are strict about these values being correct.
This commit is contained in:
Kurt Kartaltepe 2022-03-27 20:44:21 -07:00 committed by Jim
parent 4c96feafab
commit 242b49aa8a

View File

@ -16,18 +16,6 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>720</width>
<height>880</height>
</size>
</property>
<property name="windowTitle">
<string>YouTube.Actions.WindowTitle</string>
</property>