[Libreoffice-bugs] [Bug 135261] UI: Manage changes dialog is resizing for few seconds after every reject/clear formatting button press

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Aug 20 19:42:25 UTC 2020


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

--- Comment #6 from Caolán McNamara <caolanm at redhat.com> ---
Yes is possible. (but it might then look fairly horrible with a huge mostly
empty button).

To try it out see svx/source/dialog/ctredlin.cxx and the "m_xReject" button.
There is a place where the two different strings are set. To make it always the
same size then in the ctor you could set each string and after each set then
query the size with "get_preferred_size" and then set the larger size with
"set_size_request" and the button will then be unchanged in size regardless of
which string is then used

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200820/2cebb2db/attachment.htm>


More information about the Libreoffice-bugs mailing list