Created attachment 125834 [details]
Formt Cells - Borders
P.S. My English is not excellent, sorry for that. Attached picture can explain my suggestion better.
Buttons which are marked with (A) in the attached picture and where under the “Borders” tab in the “Format Cells” window in Calc, are very small and they cannot be understood easily. These buttons have 19x19 px size. Same buttons have 42x37 px size at Microsoft Office Excel. Also there is enough space on this window, so, line styles which are marked with (B) in the attached picture, can be shown in an open mod, not have to be opened by clicking.
As a consequence, I recommend to reorganizing of “Borders” tab as in the picture.
Of course, if this suggestion will be confirmed, a similar study must be done with other LibreOffice programs’ table editing windows, too.
(By the way, there are various issues with “Line Style” options in “Borders” tab, associated with it, I have opened another bug record, see ID: 100518 )
OK, seems reasonable. Makes better use of blank area of the dialog making elemnts a bit larger (i.e. readable) but does lose two predefined border settings.
Current default preset arrangements:
1. Set No Borders
2. Set All Four Borders
3. Set Left and Right Borders Only
4. Set Top and Bottom Borders Only
5. Set Diagonal Lines Only
1. Set No Borders (same as existing)
2. Only an Outline border (assume would apply to whole selection?, so not the same as 2).
3. Set All Borders (Top, Bottom, Left, Right -- apply to whole selection. So would be the same as 2).
So a considerable change in the preset functions. And, is the UX going to be adversely affected losing the 3 presets.
Created attachment 125851 [details]
OK. Then made as a simpler manner wherein Image-2.
I think it should be enlarged sure these buttons.
I prefer your second proposition as well; better not to lose some of the predefined settings.
Keep in mind that there will be a new option in 5.2 which will be consuming some whitespace as well:
Created attachment 146903 [details]
Alternative mockup following the UI pattern with three columns
Dislike the dialog because it has some kind of column UI (starting top left, going down, continues in the middle etc.). Plus, changing the line style/color/thickness affects the user-defined line, which is also not perfect. Ideally we have the presets at the left column and all settings in the middle with a preview right-hand. The options for line should depend on the selection, ie. when clicking somewhere it adjusts to what is there. The mockup is a very rough illustration.
Though your proposal is still a great enhancement and could be sone as an easyhack so lets go forward with this. (Diagonal have been removed from the presets anyway.)
Totally forgot: the border style is available in all modules with tables. So it's not a Calc only feature.
Hey, Can I get some code pointers?
Code pointer : cui/uiconfig/ui/borderpage.ui