At the meeting we discussed about introducing some toolbar buttons for alignment, which is something users request very frequently. I think the best idea is to move out of the table toolbar the alignment buttons and make them working for paragraphs too, creating a new toolbar.
I've removed the black border from the icons of the classic set, since they now don't mean "align center the cell content" but just "align center" (see attachments). For the oxygen set, I think they're already OK, except for the fact that in the KDE oxygen package [1] I couldn't find an icon similar to the one we have for the "block" alignment. Actually I couldn't find them at all, where did we get them from? Should I manually create one as I did for the classic set? -- Ale [1] http://download.kde.org/stable/4.10.3/src/oxygen-icons-4.10.3.tar.xz
Removes alignment buttons from the table toolbar and introduce the alignment toolbar, which works both for table columns and standard paragraphs. diff --git a/lib/ui/stdtoolbars.inc b/lib/ui/stdtoolbars.inc index ad4fa74..b8e911f 100644 --- a/lib/ui/stdtoolbars.inc +++ b/lib/ui/stdtoolbars.inc @@ -158,11 +158,6 @@ ToolbarSet Item "Set all lines" "inset-modify tabular set-all-lines" Item "Unset all lines" "inset-modify tabular unset-all-lines" Separator - Item "Align left" "command-alternatives inset-modify tabular m-align-left;inset-modify tabular align-left" - Item "Align center" "command-alternatives inset-modify tabular m-align-center;inset-modify tabular align-center" - Item "Align right" "command-alternatives inset-modify tabular m-align-right;inset-modify tabular align-right" - Item "Align on decimal" "inset-modify tabular align-decimal" - Separator Item "Align top" "command-alternatives inset-modify tabular m-valign-top;inset-modify tabular valign-top" Item "Align middle" "command-alternatives inset-modify tabular m-valign-middle;inset-modify tabular valign-middle" Item "Align bottom" "command-alternatives inset-modify tabular m-valign-bottom;inset-modify tabular valign-bottom" @@ -1444,4 +1439,12 @@ ToolbarSet Item "Global fall" "unicode-insert 0x2198" End + Toolbar "alignment" "Alignment" + Item "Align left" "command-alternatives inset-modify tabular m-align-left;inset-modify tabular align-left;paragraph-params \align left" + Item "Align center" "command-alternatives inset-modify tabular m-align-center;inset-modify tabular align-center;paragraph-params \align center" + Item "Align right" "command-alternatives inset-modify tabular m-align-right;inset-modify tabular align-right;paragraph-params \align right" + Item "Align block" "paragraph-params \align block" + Item "Align on decimal" "inset-modify tabular align-decimal" + End + End
<<attachment: tabular-feature_m-align-right.png>>
<<attachment: tabular-feature_m-align-left.png>>
<<attachment: tabular-feature_m-align-center.png>>
<<attachment: paragraph-params_backslashalign_block.png>>