Download it now!
Bug 119827 - LibreOffice doesn’t interpret GtkBuilder’s “scale” attribute under Windows
Summary: LibreOffice doesn’t interpret GtkBuilder’s “scale” attribute under Windows
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: lowest enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-12 16:56 UTC by Adolfo Jayme
Modified: 2018-10-05 10:56 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
Smaller label (−1 pt) under Linux with welded dialog (3.82 KB, image/png)
2018-09-12 16:58 UTC, Adolfo Jayme
Details
No effect under Windows: the label is the same size as others (4.02 KB, image/png)
2018-09-12 16:58 UTC, Adolfo Jayme
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adolfo Jayme 2018-09-12 16:56:27 UTC
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>.
Comment 1 Adolfo Jayme 2018-09-12 16:58:02 UTC
Created attachment 144821 [details]
Smaller label (−1 pt) under Linux with welded dialog
Comment 2 Adolfo Jayme 2018-09-12 16:58:39 UTC
Created attachment 144822 [details]
No effect under Windows: the label is the same size as others
Comment 3 Buovjaga 2018-10-05 10:56:15 UTC
I believe you -> NEW