https://issues.apache.org/ooo/show_bug.cgi?id=123091

Andre <[email protected]> changed:

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

--- Comment #6 from Andre <[email protected]> ---
The paint error is caused by two things:

a) Text fields not having a background.  They don't have one to make the panels
react better to changes of the background color (theme changes, high contrast
mode activation/deactivation) and to avoid unnecessary paints and the
accompanying flickering.

b) When one panel is expanded or collapsed then all panels in the deck are
layouted.  In this instance (collapsing the 'position and size' panel) the
height of the remaining panels does not change but their width is modified
because the vertical scroll bar vanishes.  For some reason that did not cause a
repaint of the panels (an Invalidate() call of the VCL windows).

I have added an explicit Invalidate() call in DeckLayouter::PlacePanels().


Regarding the remaining problem of decreasing width when the vertical scroll
bar appears: I am not sure that I understand the problem correctly.  When the
scroll bar appears, the available horizontal size that is available for the
panels is reduced by the scroll bar width.  The panel content has to be
layouted accordingly.  What am I missing?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

Reply via email to