commit 31b4986ebbfdb26d8f0cfe81d8cf9aae5461ec9a
Author: Koji Yokota <yok...@lyx.org>
Date:   Thu Mar 27 23:16:47 2025 +0900

    Modify titles of the color table in PrefColors dialog
---
 src/frontends/qt/GuiPrefs.h         |  2 +-
 src/frontends/qt/ui/PrefColorsUi.ui | 10 +++++-----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/frontends/qt/GuiPrefs.h b/src/frontends/qt/GuiPrefs.h
index 09dd25fc2a..8373067844 100644
--- a/src/frontends/qt/GuiPrefs.h
+++ b/src/frontends/qt/GuiPrefs.h
@@ -323,7 +323,7 @@ private:
        ColorPair toqcolor(ColorNamePair);
 
        QStringList const header_labels_ =
-         {qt_("Light"), qt_("Dark"), qt_("Color name"), qt_("Light"), 
qt_("Dark")};
+         {qt_("Light"), qt_("Dark"), qt_("Object/Element"), qt_("Light"), 
qt_("Dark")};
        QString const reset_label_ = qt_("Reset");
        int const swatch_width_  = 32;
        int const swatch_height_ = 18;
diff --git a/src/frontends/qt/ui/PrefColorsUi.ui 
b/src/frontends/qt/ui/PrefColorsUi.ui
index bd4f8ef495..ca935e466c 100644
--- a/src/frontends/qt/ui/PrefColorsUi.ui
+++ b/src/frontends/qt/ui/PrefColorsUi.ui
@@ -75,7 +75,7 @@
           <enum>Qt::Orientation::Horizontal</enum>
          </property>
          <property name="sizeType">
-          <enum>QSizePolicy::Policy::Fixed</enum>
+          <enum>QSizePolicy::Policy::MinimumExpanding</enum>
          </property>
          <property name="sizeHint" stdset="0">
           <size>
@@ -95,7 +95,7 @@
          </property>
          <property name="minimumSize">
           <size>
-           <width>150</width>
+           <width>200</width>
            <height>16</height>
           </size>
          </property>
@@ -112,7 +112,7 @@
           <set>Qt::AlignmentFlag::AlignCenter</set>
          </property>
          <property name="placeholderText">
-          <string>Filter by color name</string>
+          <string>Filter by object/element name</string>
          </property>
          <property name="clearButtonEnabled">
           <bool>true</bool>
@@ -129,7 +129,7 @@
          </property>
          <property name="sizeHint" stdset="0">
           <size>
-           <width>13</width>
+           <width>6</width>
            <height>20</height>
           </size>
          </property>
@@ -180,7 +180,7 @@
          </property>
          <property name="sizeHint" stdset="0">
           <size>
-           <width>13</width>
+           <width>6</width>
            <height>20</height>
           </size>
          </property>
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
https://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to