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

--- Comment #6 from Caolán McNamara <caol...@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.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to