diff options
author | Sahil Gautam <sahil@libreoffice.org> | 2024-06-18 08:51:36 +0000 |
---|---|---|
committer | Heiko Tietze <heiko.tietze@documentfoundation.org> | 2024-06-19 15:38:27 +0200 |
commit | 86cd6036273a9031212e131141c03ed4e16e011b (patch) | |
tree | f96515f4b56a99778fc569e9195fa7854e65a763 /svx/inc/dragmt3d.hxx | |
parent | b344a611d7636d4fdf8cf221fb7b8bcfdcdb6824 (diff) |
tdf#159543 - Proper feedback needed when resizing a frame...
When autosize (a frame property) is enabled, then the (text) frame
manages it's height/width based on the content such that all the text
is visible. The user cannot decrease the height/width to be less than
the content height/width, but the resize handles show up, and clicking and
dragging is enabled, which shows a blue virtual resize frame.
This patch adds UI feedback mechanism such that if the drag leads
to some change in any dimention of the original frame, then the
frame color will remain blue, otherwise it turns red.
Change-Id: Id4b3e3ae2c9864154e6028ca03008261bbc3e1b8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165817
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Diffstat (limited to 'svx/inc/dragmt3d.hxx')
-rw-r--r-- | svx/inc/dragmt3d.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/inc/dragmt3d.hxx b/svx/inc/dragmt3d.hxx index 879dd6019ed1..466e207fbf09 100644 --- a/svx/inc/dragmt3d.hxx +++ b/svx/inc/dragmt3d.hxx @@ -78,7 +78,7 @@ public: // for migration from XOR to overlay virtual void CreateOverlayGeometry( sdr::overlay::OverlayManager& rOverlayManager, - const sdr::contact::ObjectContact& rObjectContact) override; + const sdr::contact::ObjectContact& rObjectContact, bool IsGeometrySizeValid=true) override; }; // Derivative of SdrDragMethod for spinning 3D objects |