[Libreoffice-bugs] [Bug 121158] Writer Page deck, incorrect padding of Header and Footer content panels

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Jun 22 12:01:43 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=121158

--- Comment #8 from Caolán McNamara <caolanm at redhat.com> ---
FWIW "margin-right" is now "margin-end" and anything that could be done with a
GtkAlignment can still be done using:
margin-start/margin-end/margin-top/margin-bottom/etc.

wrt the original bug report there are four panels. If we take two of them as
examples, sw/uiconfig/swriter/ui/pagefooterpanel.ui "Footer" and
sw/uiconfig/swriter/ui/pageformatpanel.ui "Format" each has a main "grid1"
child and both of those have expand horizontal of true and a horizontal
alignment of center.

So if you stretch the sidebar wider it becomes more obvious that their content
is centered horizontally in the space they're given.

The space highlighted in the original pictures is because the content of the
Header/Footer panels is wider than the Format/Styles panels and the
Format/Styles panels are centered horizontally in the space available.

Header and Footer have exactly the same width widgets so they always align with
eachother, but the other panels have different width widgets in the combobox
columns and in the label columns.

If the 4 panels were changed to, e.g. alignment "end", for the grid1 then I
imagine all four would then appear flush to the right side. Though I expect
that the differing widths of the comboboxes columns between panels might pose a
remaining jarring effect.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210622/970660bf/attachment.htm>


More information about the Libreoffice-bugs mailing list