Wed, 22 Dec 2021 19:53:50 +0100
Corrected the indent and tab size list of the editor general configuration page.
eric7/Preferences/ConfigurationPages/EditorGeneralPage.ui | file | annotate | diff | comparison | revisions |
--- a/eric7/Preferences/ConfigurationPages/EditorGeneralPage.ui Tue Dec 21 20:42:32 2021 +0100 +++ b/eric7/Preferences/ConfigurationPages/EditorGeneralPage.ui Wed Dec 22 19:53:50 2021 +0100 @@ -7,7 +7,7 @@ <x>0</x> <y>0</y> <width>550</width> - <height>865</height> + <height>1000</height> </rect> </property> <layout class="QVBoxLayout" name="verticalLayout_3"> @@ -36,8 +36,8 @@ <property name="title"> <string>Tabs && Indentation</string> </property> - <layout class="QGridLayout" name="gridLayout_5"> - <item row="0" column="0" colspan="2"> + <layout class="QVBoxLayout" name="verticalLayout_4"> + <item> <layout class="QGridLayout" name="gridLayout_2"> <item row="0" column="0"> <widget class="QCheckBox" name="autoindentCheckBox"> @@ -81,7 +81,7 @@ </item> </layout> </item> - <item row="1" column="0" colspan="2"> + <item> <layout class="QGridLayout" name="gridLayout_4"> <item row="0" column="0"> <widget class="QLabel" name="TextLabel13_3"> @@ -181,96 +181,94 @@ </item> </layout> </item> - <item row="2" column="0"> - <widget class="QTreeWidget" name="languageOverrideWidget"> - <property name="minimumSize"> - <size> - <width>0</width> - <height>150</height> - </size> - </property> - <property name="alternatingRowColors"> - <bool>true</bool> - </property> - <property name="selectionMode"> - <enum>QAbstractItemView::ExtendedSelection</enum> - </property> - <property name="rootIsDecorated"> - <bool>false</bool> - </property> - <property name="itemsExpandable"> - <bool>false</bool> - </property> - <column> - <property name="text"> - <string>Language</string> - </property> - </column> - <column> - <property name="text"> - <string>Tab Width</string> - </property> - </column> - <column> - <property name="text"> - <string>Indent Width</string> - </property> - </column> - <column> - <property name="text"> - <string notr="true"/> - </property> - </column> - </widget> - </item> - <item row="2" column="1"> - <layout class="QVBoxLayout" name="verticalLayout_2"> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_2"> <item> - <spacer name="verticalSpacer"> - <property name="orientation"> - <enum>Qt::Vertical</enum> + <widget class="QTreeWidget" name="languageOverrideWidget"> + <property name="alternatingRowColors"> + <bool>true</bool> + </property> + <property name="selectionMode"> + <enum>QAbstractItemView::ExtendedSelection</enum> + </property> + <property name="rootIsDecorated"> + <bool>false</bool> + </property> + <property name="itemsExpandable"> + <bool>false</bool> </property> - <property name="sizeHint" stdset="0"> - <size> - <width>20</width> - <height>40</height> - </size> - </property> - </spacer> - </item> - <item> - <widget class="QToolButton" name="addButton"> - <property name="toolTip"> - <string>Press to add a language specific override</string> - </property> + <column> + <property name="text"> + <string>Language</string> + </property> + </column> + <column> + <property name="text"> + <string>Tab Width</string> + </property> + </column> + <column> + <property name="text"> + <string>Indent Width</string> + </property> + </column> + <column> + <property name="text"> + <string notr="true"> </string> + </property> + </column> </widget> </item> <item> - <widget class="QToolButton" name="deleteButton"> - <property name="toolTip"> - <string>Press to delete the selected language specific override</string> - </property> - </widget> - </item> - <item> - <widget class="QToolButton" name="editButton"> - <property name="toolTip"> - <string>Press to edit the selected language specific override</string> - </property> - </widget> - </item> - <item> - <spacer name="verticalSpacer_2"> - <property name="orientation"> - <enum>Qt::Vertical</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>20</width> - <height>40</height> - </size> - </property> - </spacer> + <layout class="QVBoxLayout" name="verticalLayout_2"> + <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> + <item> + <widget class="QToolButton" name="addButton"> + <property name="toolTip"> + <string>Press to add a language specific override</string> + </property> + </widget> + </item> + <item> + <widget class="QToolButton" name="deleteButton"> + <property name="toolTip"> + <string>Press to delete the selected language specific override</string> + </property> + </widget> + </item> + <item> + <widget class="QToolButton" name="editButton"> + <property name="toolTip"> + <string>Press to edit the selected language specific override</string> + </property> + </widget> + </item> + <item> + <spacer name="verticalSpacer_2"> + <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> </layout> </item> @@ -530,6 +528,19 @@ </layout> </widget> </item> + <item> + <spacer name="verticalSpacer_3"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>13</height> + </size> + </property> + </spacer> + </item> </layout> </widget> <tabstops>