Files
odfstudio/include
Michael Weghorn 6296615b8d tdf#173695 svx: Ensure minimum height for ColorWindow
The number of colors displayed in the ColorIconView
in ColorWindow depends on the selected palette.

When the popup is shown for the first time, its
size is calculated based on the size of the
widgets it contains, and the size of the weld::IconView
used for ColorIconView is in turn based on the number
of colors in the initial palette.

If the initial palette has few (or no) colors,
switching to a palette with many colors results
in the need for the weld::IconView to use more
space than previously to show the additional items,
but since the popup doesn't resize, it remains at
its initial size and the selection of colors is
inconvenient or even impossible.

Avoid the problem by ensuring the ColorIconView
has a minimum height of at least 200 pixels.

Before the switch to ColorIconView in

    commit a4d5983b4e
    Author: Michael Weghorn <m.weghorn@posteo.de>
    Date:   Fri Jun 5 11:48:54 2026 +0200

        tdf#130857 Port ColorWindow from SvxColorValueSet to ColorIconView

, the SvxColorValueSet widget in use previously
was always set to a fixed size altogether.

Change-Id: I7b24dd823083891126cf7b4d0ebe1914c1e0cc87
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211565
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-09-29 17:32:27 +02:00
..
2026-09-03 08:53:27 +02:00
2026-08-28 16:33:11 +02:00
2026-04-30 08:54:45 +02:00
2026-08-25 11:17:36 +02:00
2026-08-27 13:59:07 +02:00
2026-06-04 10:00:29 +02:00
2026-08-25 11:57:36 +02:00
2026-09-03 08:50:28 +02:00
2026-09-03 08:54:54 +02:00
2026-08-28 16:33:11 +02:00
2026-08-25 11:57:36 +02:00
2026-08-21 14:19:46 +02:00
2026-08-25 14:31:09 +02:00
2026-09-03 08:54:54 +02:00
2026-09-03 09:00:23 +02:00
2026-08-27 20:39:06 +02:00
2026-09-03 09:00:23 +02:00
2026-09-10 21:26:38 +02:00
2026-09-03 09:02:25 +02:00
2026-09-03 08:51:42 +02:00
2026-09-03 08:51:42 +02:00
2026-09-29 15:57:31 +02:00
…
…