Some information in our UI is secondary or complementary, and as such it doesn’t need to be as prominent as other elements. GtkBuilder’s .ui files allow designers to create a visual hierarchy by means of the “scale” Pango attribute and style classes like “dim-label”. Together, they help to create visually clearer UIs. For instance, in a welded UI file like specialcharacters.ui (cui module), I can add the following markup to the “charname” GtkLabel…: <style> <class name="dim-label"/> </style> <attributes> <attribute name="scale" value="0.8"/> </attributes> … to make it smaller (by 1 pt) and dimmed. This works well under Linux, but doesn’t have any effect under Windows, and I presume under macOS as well (didn’t test). I would like that, under Windows, LibreOffice at least interpret the scale part to make some secondary-info labels smaller. I don’t ask for the dimmed style to be reimplemented into LO because I know such styles belong to Gtk+ themes <rant>(which apparently Gtk+ developers intend to drop because GNOME loves to sabotage itself as a viable, flexible platform)</rant>.
Created attachment 144821 [details] Smaller label (−1 pt) under Linux with welded dialog
Created attachment 144822 [details] No effect under Windows: the label is the same size as others
I believe you -> NEW
https://gerrit.libreoffice.org/c/core/+/135493 for supporting scale
Caolán McNamara committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/6f17d42f251bf4a20b4192c16fa007226dcf17ed tdf#119827 implement GtkBuilder "scale" property for font size It will be available in 7.4.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Go raibh maith agat, Caolán!! ❤️
Adolfo Jayme Barrientos committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/0ebbe1f0080f474fd583e5912c9605e6fb2e13d5 Related: tdf#119827 Add “scale” property for non-interactive labels in more places It will be available in 7.5.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Adolfo Jayme Barrientos committed a patch related to this issue. It has been pushed to "libreoffice-7-4": https://git.libreoffice.org/core/commit/cb1a89591afd16b4b8faef526a2269e388764a70 Related: tdf#119827 Add “scale” property for non-interactive labels in more places It will be available in 7.4.0.0.beta2. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Fix verified in: Version: 7.4.3.2 / LibreOffice Community Build ID: 1048a8393ae2eeec98dff31b5c133c5f1d08b890 CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: x11 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded Thank you both!