commit 88f80dd9c83cd33d8df0015e936c302b92855617 Author: Koji Yokota <yok...@lyx.org> Date: Mon Mar 10 22:28:34 2025 +0900
Remove font size specification --- src/frontends/qt/ui/PrefColorsUi.ui | 326 ++++++++++++++++++------------------ 1 file changed, 162 insertions(+), 164 deletions(-) diff --git a/src/frontends/qt/ui/PrefColorsUi.ui b/src/frontends/qt/ui/PrefColorsUi.ui index 79af767f7c..81ba4ad501 100644 --- a/src/frontends/qt/ui/PrefColorsUi.ui +++ b/src/frontends/qt/ui/PrefColorsUi.ui @@ -21,8 +21,53 @@ </property> <layout class="QGridLayout" name="gridLayout_2"> <item row="1" column="0" colspan="3"> - <layout class="QGridLayout" name="gridLayout" rowstretch="0,0,0" columnstretch="0,0,0,0,0,0,0"> - <item row="0" column="5"> + <layout class="QGridLayout" name="gridLayout" rowstretch="0,0,0" columnstretch="0,0,0,0,0,0,0,0"> + <item row="1" column="1" rowspan="2" colspan="7"> + <widget class="QTableWidget" name="colorsTW"> + <property name="font"> + <font> + <family>.AppleSystemUIFont</family> + </font> + </property> + <property name="iconSize"> + <size> + <width>32</width> + <height>16</height> + </size> + </property> + <property name="showGrid"> + <bool>false</bool> + </property> + <property name="sortingEnabled"> + <bool>true</bool> + </property> + <property name="columnCount"> + <number>3</number> + </property> + <attribute name="horizontalHeaderMinimumSectionSize"> + <number>24</number> + </attribute> + <attribute name="horizontalHeaderDefaultSectionSize"> + <number>36</number> + </attribute> + <attribute name="horizontalHeaderStretchLastSection"> + <bool>true</bool> + </attribute> + <attribute name="verticalHeaderVisible"> + <bool>false</bool> + </attribute> + <attribute name="verticalHeaderMinimumSectionSize"> + <number>12</number> + </attribute> + <attribute name="verticalHeaderDefaultSectionSize"> + <number>18</number> + </attribute> + <column/> + <column/> + <column/> + </widget> + </item> + <item row="0" column="6"> <layout class="QHBoxLayout" name="searchLayout"> <property name="spacing"> <number>0</number> @@ -47,11 +92,6 @@ <height>16777215</height> </size> </property> - <property name="font"> - <font> - <pointsize>13</pointsize> - </font> - </property> <property name="toolTip"> <string>Enter a color name to search</string> </property> @@ -115,7 +155,7 @@ </item> </layout> </item> - <item row="0" column="4"> + <item row="0" column="5"> <spacer name="hsTitleCenter"> <property name="orientation"> <enum>Qt::Orientation::Horizontal</enum> @@ -131,70 +171,126 @@ </property> </spacer> </item> - <item row="0" column="1" colspan="2"> - <widget class="QLabel" name="label_2"> - <property name="font"> - <font> - <pointsize>11</pointsize> - </font> + <item row="0" column="4"> + <layout class="QHBoxLayout" name="horizontalLayout"> + <property name="spacing"> + <number>0</number> </property> + <property name="rightMargin"> + <number>0</number> + </property> + <item> + <widget class="QToolButton" name="undoColorPB"> + <property name="toolTip"> + <string>Undo</string> + </property> + <property name="text"> + <string><=</string> + </property> + <property name="iconSize"> + <size> + <width>16</width> + <height>16</height> + </size> + </property> + <property name="arrowType"> + <enum>Qt::ArrowType::NoArrow</enum> + </property> + </widget> + </item> + <item> + <widget class="QToolButton" name="redoColorPB"> + <property name="toolTip"> + <string>Redo</string> + </property> + <property name="text"> + <string>=></string> + </property> + <property name="iconSize"> + <size> + <width>16</width> + <height>16</height> + </size> + </property> + </widget> + </item> + <item> + <spacer name="horizontalSpacer_2"> + <property name="orientation"> + <enum>Qt::Orientation::Horizontal</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Policy::Fixed</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>13</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item> + <widget class="QToolButton" name="colorResetPB"> + <property name="toolTip"> + <string>Revert selected to theme colors</string> + </property> + <property name="text"> + <string>R</string> + </property> + <property name="iconSize"> + <size> + <width>16</width> + <height>16</height> + </size> + </property> + </widget> + </item> + <item> + <widget class="QToolButton" name="colorResetAllPB"> + <property name="toolTip"> + <string>Reset all colors to theme</string> + </property> + <property name="text"> + <string>A</string> + </property> + <property name="iconSize"> + <size> + <width>16</width> + <height>16</height> + </size> + </property> + </widget> + </item> + </layout> + </item> + <item row="0" column="0"> + <widget class="QLabel" name="themesLabel"> <property name="text"> - <string>&Color Settings:</string> + <string>&Themes:</string> </property> <property name="alignment"> <set>Qt::AlignmentFlag::AlignBottom|Qt::AlignmentFlag::AlignLeading|Qt::AlignmentFlag::AlignLeft</set> </property> <property name="buddy"> - <cstring>colorsTW</cstring> + <cstring>themesLW</cstring> </property> </widget> </item> - <item row="1" column="1" rowspan="2" colspan="6"> - <widget class="QTableWidget" name="colorsTW"> - <property name="font"> - <font> - <family>.AppleSystemUIFont</family> - </font> - </property> - <property name="iconSize"> - <size> - <width>32</width> - <height>16</height> - </size> - </property> - <property name="showGrid"> - <bool>false</bool> + <item row="0" column="1" colspan="2"> + <widget class="QLabel" name="colorLabel"> + <property name="text"> + <string>&Color Settings:</string> </property> - <property name="sortingEnabled"> - <bool>true</bool> + <property name="alignment"> + <set>Qt::AlignmentFlag::AlignBottom|Qt::AlignmentFlag::AlignLeading|Qt::AlignmentFlag::AlignLeft</set> </property> - <property name="columnCount"> - <number>3</number> + <property name="buddy"> + <cstring>colorsTW</cstring> </property> - <attribute name="horizontalHeaderMinimumSectionSize"> - <number>24</number> - </attribute> - <attribute name="horizontalHeaderDefaultSectionSize"> - <number>36</number> - </attribute> - <attribute name="horizontalHeaderStretchLastSection"> - <bool>true</bool> - </attribute> - <attribute name="verticalHeaderVisible"> - <bool>false</bool> - </attribute> - <attribute name="verticalHeaderMinimumSectionSize"> - <number>12</number> - </attribute> - <attribute name="verticalHeaderDefaultSectionSize"> - <number>18</number> - </attribute> - <column/> - <column/> - <column/> </widget> </item> - <item row="0" column="6"> + <item row="0" column="7"> <spacer name="hsTitleRight"> <property name="orientation"> <enum>Qt::Orientation::Horizontal</enum> @@ -291,116 +387,18 @@ </item> </layout> </item> - <item row="0" column="0"> - <widget class="QLabel" name="label"> - <property name="font"> - <font> - <pointsize>11</pointsize> - </font> - </property> - <property name="text"> - <string>&Themes:</string> - </property> - <property name="alignment"> - <set>Qt::AlignmentFlag::AlignBottom|Qt::AlignmentFlag::AlignLeading|Qt::AlignmentFlag::AlignLeft</set> - </property> - <property name="buddy"> - <cstring>themesLW</cstring> - </property> - </widget> - </item> <item row="0" column="3"> - <layout class="QHBoxLayout" name="horizontalLayout"> - <property name="spacing"> - <number>0</number> + <spacer name="horizontalSpacer_3"> + <property name="orientation"> + <enum>Qt::Orientation::Horizontal</enum> </property> - <property name="rightMargin"> - <number>0</number> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> </property> - <item> - <widget class="QToolButton" name="undoColorPB"> - <property name="toolTip"> - <string>Undo</string> - </property> - <property name="text"> - <string><=</string> - </property> - <property name="iconSize"> - <size> - <width>16</width> - <height>16</height> - </size> - </property> - <property name="arrowType"> - <enum>Qt::ArrowType::NoArrow</enum> - </property> - </widget> - </item> - <item> - <widget class="QToolButton" name="redoColorPB"> - <property name="toolTip"> - <string>Redo</string> - </property> - <property name="text"> - <string>=></string> - </property> - <property name="iconSize"> - <size> - <width>16</width> - <height>16</height> - </size> - </property> - </widget> - </item> - <item> - <spacer name="horizontalSpacer_2"> - <property name="orientation"> - <enum>Qt::Orientation::Horizontal</enum> - </property> - <property name="sizeType"> - <enum>QSizePolicy::Policy::Fixed</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>13</width> - <height>20</height> - </size> - </property> - </spacer> - </item> - <item> - <widget class="QToolButton" name="colorResetPB"> - <property name="toolTip"> - <string>Revert selected to theme colors</string> - </property> - <property name="text"> - <string>R</string> - </property> - <property name="iconSize"> - <size> - <width>16</width> - <height>16</height> - </size> - </property> - </widget> - </item> - <item> - <widget class="QToolButton" name="colorResetAllPB"> - <property name="toolTip"> - <string>Reset all colors to theme</string> - </property> - <property name="text"> - <string>A</string> - </property> - <property name="iconSize"> - <size> - <width>16</width> - <height>16</height> - </size> - </property> - </widget> - </item> - </layout> + </spacer> </item> </layout> </item> -- lyx-cvs mailing list lyx-cvs@lists.lyx.org https://lists.lyx.org/mailman/listinfo/lyx-cvs