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

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #13 from [email protected] ---
As a user I find the current UX difficult to use. Changing multiple styles from
"default" or "text body" to "Heading 3" or "Heading 4" is very challenging -
each time I click on the line which I want to denote as a heading 
the style preview selects "default" style which scrolls it back to the top so
and I need to scroll down again; this is really distressing for some reason. I
would really appreciate a change to make the styles preview box expand to full
width available.

If you are discussing a larger redesign, I also miss ability to customise
styles as these appear to be hard-coded; for example, I would like to add
"Heading 5".

For now I am applying a manual workaround by modifying
`svx/ui/stylespreview.ui` file (for me on Linux it is in
`/usr/lib/libreoffice/share/config/soffice.cfg/svx/ui/stylespreview.ui`) as
follows:

1. In `<object class="GtkScrolledWindow">`, increasing the requested width, for
me it is 1200: `<property name="width_request">1200</property>`
2. Replacing hard-coded `3` columns with `-1` to fit as many columns as
possible in `<object class="GtkIconView" id="stylesview">`: `<property
name="columns">-1</property>`

I experimented with setting expand/fill/hexpand (to replace hard-coded
`width_request`) and I think that none of these work because the size is set in
code by `StylesPreviewWindow_Impl::SetOptimalSize` method implemented as
`SetSizePixel(get_preferred_size());`).

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to