Bug 124789 - Icons are misaligned in menus
Summary: Icons are misaligned in menus
Status: RESOLVED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Main-Menu
  Show dependency treegraph
 
Reported: 2019-04-17 11:02 UTC by andreas_k
Modified: 2019-04-27 15:32 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
gtk3 and qt backend layout menubar and context menu (313.26 KB, image/png)
2019-04-17 11:02 UTC, andreas_k
Details
osx alignment of icons and labels (380.48 KB, image/png)
2019-04-18 22:32 UTC, andreas_k
Details

Note You need to log in before you can comment on or make changes to this bug.
Description andreas_k 2019-04-17 11:02:35 UTC
Created attachment 150816 [details]
gtk3 and qt backend layout menubar and context menu

As LibO follow the design rules of the platform LibO is running it's very difficult to have one design language or at least one cooperate design.

menubar layout

windows:
1st column toggle and icon
2nd column label

gtk3
1st column toggle
2nd column icon and label (if icon is selected

qt
1st column toggle
2nd column icon
3rd column label

for a better readability it would be very useful if the gtk3 module use the same layout than qt cause than the icon (if activated by the user) has it's own column and the labels are better readable.
Comment 1 andreas_k 2019-04-18 22:32:33 UTC
Created attachment 150866 [details]
osx alignment of icons and labels

on os-x it's the same issue than on gtk3.
Comment 2 Heiko Tietze 2019-04-23 09:49:27 UTC
SAL_USE_VCLPLUGIN=gen or qt do left align the menu text independently from the icon but not gtk2 and gtk3. Apparently also not macOS.
Comment 3 Caolán McNamara 2019-04-27 15:24:48 UTC
Its not possible. At least as far as I can see its not possible to control such layout via the GMenuModel we use to populate the native Gtk3 menu. Presumably the same is true for the use of the native mac menus
Comment 4 andreas_k 2019-04-27 15:32:27 UTC
Thanks for investigating your time.