--- a/src/ui/objecteditor.ui Wed Jun 22 16:13:01 2022 +0300 +++ b/src/ui/objecteditor.ui Wed Jun 22 16:13:15 2022 +0300 @@ -6,71 +6,90 @@ <rect> <x>0</x> <y>0</y> - <width>664</width> - <height>468</height> + <width>492</width> + <height>336</height> </rect> </property> <property name="windowTitle"> <string>Form</string> </property> - <layout class="QHBoxLayout" name="horizontalLayout_2"> + <layout class="QVBoxLayout" name="verticalLayout_2"> <item> - <layout class="QVBoxLayout" name="verticalLayout"> - <item> - <layout class="QHBoxLayout" name="horizontalLayout"> + <widget class="QScrollArea" name="scrollArea"> + <property name="widgetResizable"> + <bool>true</bool> + </property> + <widget class="QWidget" name="scrollAreaWidgetContents"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>472</width> + <height>316</height> + </rect> + </property> + <layout class="QHBoxLayout" name="horizontalLayout_2"> <item> - <widget class="QLabel" name="typeIconLabel"> - <property name="text"> - <string><icon></string> - </property> - </widget> + <layout class="QVBoxLayout" name="verticalLayout"> + <item> + <layout class="QHBoxLayout" name="horizontalLayout"> + <item> + <widget class="QLabel" name="typeIconLabel"> + <property name="text"> + <string><icon></string> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="typeNameLabel"> + <property name="styleSheet"> + <string notr="true">font-weight: bold</string> + </property> + <property name="text"> + <string>Object</string> + </property> + </widget> + </item> + </layout> + </item> + <item> + <widget class="QGroupBox" name="properties"> + <property name="title"> + <string>Properties</string> + </property> + </widget> + </item> + <item> + <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> + </layout> </item> <item> - <widget class="QLabel" name="typeNameLabel"> - <property name="styleSheet"> - <string notr="true">font-weight: bold</string> + <spacer name="horizontalSpacer"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> </property> - <property name="text"> - <string>Object</string> + <property name="sizeHint" stdset="0"> + <size> + <width>508</width> + <height>20</height> + </size> </property> - </widget> + </spacer> </item> </layout> - </item> - <item> - <widget class="QGroupBox" name="properties"> - <property name="title"> - <string>Properties</string> - </property> - </widget> - </item> - <item> - <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> - </layout> - </item> - <item> - <spacer name="horizontalSpacer"> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>508</width> - <height>20</height> - </size> - </property> - </spacer> + </widget> + </widget> </item> </layout> </widget>