all repos — mgba @ d135fd6a63b223cc05a89a59fa28100e25888b15

mGBA Game Boy Advance Emulator

Qt: Fix windows being resizable when they shouldn't have been
Jeffrey Pfau jeffrey@endrift.com
Sat, 30 May 2015 23:33:08 -0700
commit

d135fd6a63b223cc05a89a59fa28100e25888b15

parent

ffa2f62cf1291ed56a9e04b948e824b17aacf67c

M CHANGESCHANGES

@@ -48,6 +48,7 @@ - All: Enable static linking for Windows

- All: Enable static linking for OS X - Qt: Migrate multiplayer window handling into GBAApp - Qt: Unified file opening and saving with last location + - Qt: Fix windows being resizable when they shouldn't have been 0.2.1: (2015-05-13) Bugfixes:
M src/platform/qt/GIFView.uisrc/platform/qt/GIFView.ui

@@ -14,6 +14,9 @@ <property name="windowTitle">

<string>Record GIF</string> </property> <layout class="QVBoxLayout" name="verticalLayout"> + <property name="sizeConstraint"> + <enum>QLayout::SetFixedSize</enum> + </property> <item> <layout class="QGridLayout" name="gridLayout"> <item row="1" column="0">
M src/platform/qt/OverrideView.uisrc/platform/qt/OverrideView.ui

@@ -20,18 +20,15 @@ <property name="windowTitle">

<string>Game Overrides</string> </property> <layout class="QGridLayout" name="gridLayout_3"> + <property name="sizeConstraint"> + <enum>QLayout::SetFixedSize</enum> + </property> <item row="2" column="1"> <layout class="QHBoxLayout" name="horizontalLayout_2"> <item> <spacer name="horizontalSpacer_2"> <property name="orientation"> <enum>Qt::Horizontal</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>40</width> - <height>20</height> - </size> </property> </spacer> </item>

@@ -190,12 +187,6 @@ <item row="1" column="1">

<spacer name="verticalSpacer"> <property name="orientation"> <enum>Qt::Vertical</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>20</width> - <height>40</height> - </size> </property> </spacer> </item>
M src/platform/qt/SensorView.uisrc/platform/qt/SensorView.ui

@@ -7,7 +7,7 @@ <rect>

<x>0</x> <y>0</y> <width>434</width> - <height>288</height> + <height>319</height> </rect> </property> <property name="sizePolicy">

@@ -20,6 +20,9 @@ <property name="windowTitle">

<string>Sensors</string> </property> <layout class="QVBoxLayout" name="verticalLayout"> + <property name="sizeConstraint"> + <enum>QLayout::SetFixedSize</enum> + </property> <item> <layout class="QHBoxLayout" name="horizontalLayout"> <item>
M src/platform/qt/SettingsView.uisrc/platform/qt/SettingsView.ui

@@ -6,7 +6,7 @@ <property name="geometry">

<rect> <x>0</x> <y>0</y> - <width>656</width> + <width>673</width> <height>366</height> </rect> </property>

@@ -20,6 +20,9 @@ <property name="windowTitle">

<string>Settings</string> </property> <layout class="QVBoxLayout" name="verticalLayout"> + <property name="sizeConstraint"> + <enum>QLayout::SetFixedSize</enum> + </property> <item> <layout class="QHBoxLayout" name="horizontalLayout_3"> <item>