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

Andre <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED

--- Comment #7 from Andre <[email protected]> ---
The root cause of the missing update is that the UI scale is basically an
SD-only feature.  While the value of the UI scale is available via the
SdrModel, the items with the x and y scale are 
 ATTR_OPTIONS_SCALE_X and
 ATTR_OPTIONS_SCALE_Y which are defined in sd/inc/sdattr.hrc and thus not
visible to the svx based PosSizePropertyPanel.  The changes of the item values
are notified but can not be received by the panel for said reasons.

Fixed with a little trick/hack.  PosSizePropertyPanel checks the UI scale every
time a value change of the SID_ATTR_METRIC item is notified.  When one is
detected, the four items for position and size are invalidated to trigger
callbacks with the (unchanged) values.

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

Reply via email to