Bug 139674 - Merge and Center Cells button wastes too much space on the toolbar (large buttons need text wrap for labels)
Summary: Merge and Center Cells button wastes too much space on the toolbar (large but...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
6.0.0.3 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: topicUI
Depends on:
Blocks: Notebookbar-Tabbed
  Show dependency treegraph
 
Reported: 2021-01-16 12:07 UTC by Dima
Modified: 2023-07-11 19:40 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Merge and Cetner Cells button caption (23.01 KB, image/png)
2021-01-16 12:08 UTC, Dima
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dima 2021-01-16 12:07:15 UTC
Description:
The caption is a huge waste of space on a 1366x768 laptop display. The best solution would be to leave it without a caption like on a non-tabbed toolbar.

I see it in LibreOffice 6.x and 7.x. I didn't use other versions.

Steps to Reproduce:
1. Change user interface to Tabbed.

Actual Results:
You'll see the button.

Expected Results:
Less space waste.


Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
Version: 7.0.4.2
Build ID: dcf040e67528d9187c66b2379df5ea4407429775
CPU threads: 8; OS: Linux 5.10; UI render: default; VCL: kf5
Locale: en-US (en_IL); UI: en-US
Calc: CL
Comment 1 Dima 2021-01-16 12:08:29 UTC
Created attachment 168934 [details]
Merge and Cetner Cells button caption
Comment 2 BogdanB 2021-01-16 15:49:02 UTC
Agree. At least the expression should be on 2 rows. The same with "Find and Replace". Maybe in some languages there are much longer words for this expression, with 2 rows everything will look much nicer. And the area will be smaller.

Version: 7.0.4.2
Build ID: dcf040e67528d9187c66b2379df5ea4407429775
CPU threads: 4; OS: Linux 5.8; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded
Comment 3 QA Administrators 2023-01-17 03:19:53 UTC Comment hidden (obsolete)
Comment 4 BogdanB 2023-03-19 06:22:58 UTC
Retested.
The same in
Version: 7.5.2.1 (X86_64) / LibreOffice Community
Build ID: e8bf3b441b8370f8440b0339fd9490765a8d57ca
CPU threads: 16; OS: Linux 5.19; UI render: default; VCL: gtk3
Locale: en-US (ro_RO.UTF-8); UI: en-US
Calc: threaded
Comment 5 ady 2023-06-16 20:10:38 UTC
A side note.

For each command in each toolbar and in each UI, users should be able to set whether to show either:
* graphic icon
* text
* both

So, for example, the "Merge and Center Cells" icon could be either:
* show the graphic icon alone
* show text alone
* show both (current default)

Moreover, if showing only the text, the space that the graphic icon occupies could be used for the text, spaning 2 or 3 lines, hence allowing a narrower width. Additionally, when showing the graphic icon only, the screen space would be also more effectively used for users that would choose such setting for this particular command in the Tabbed UI.

This is all a side-note because individual per-command settings are not available ATM, so whichever way the icon/command is displayed by default, it is imposed for all users, whether they would want *for this command* the graphic icon only, the text only, or both.
Comment 6 Justin L 2023-07-04 19:11:58 UTC
This is specifically talking about .uno:ToggleMergeCells

I thought perhaps I could add a <property name="wrap">true</property> to a child GtkLabel, but I couldn't find documentation on how to do it, and guessing didn't work.