cui/uiconfig/ui/bulletandposition.ui | 3 +-- sd/source/ui/dlg/BulletAndPositionDlg.cxx | 4 ---- 2 files changed, 1 insertion(+), 6 deletions(-)
New commits: commit ae6f6d0fb76148fba88420504421b8d34ae9ec9f Author: Caolán McNamara <[email protected]> AuthorDate: Sun Feb 8 20:19:01 2026 +0000 Commit: Adolfo Jayme Barrientos <[email protected]> CommitDate: Fri Feb 20 07:51:32 2026 +0100 Resolves: tdf#170463 width request of preview changes during editing so on clicking "1-10" and then increasing the "width" spinbutton value grows the width of the preview, increasing the width of the gtk version and crushing the content of the gen version. Shrink the width of the level selection area to it's natural width. Increase the initial width of the preview area by 50% to give it more space and stop resizing it on changes. Change-Id: Iec19b1ced2ec035740f5a173bb6c774fdd70efe3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198917 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <[email protected]> diff --git a/cui/uiconfig/ui/bulletandposition.ui b/cui/uiconfig/ui/bulletandposition.ui index 4d9ce7911f1e..921af5d9dc2d 100644 --- a/cui/uiconfig/ui/bulletandposition.ui +++ b/cui/uiconfig/ui/bulletandposition.ui @@ -188,7 +188,6 @@ <property name="shadow-type">in</property> <child> <object class="GtkTreeView" id="levellb"> - <property name="width-request">75</property> <property name="visible">True</property> <property name="can-focus">True</property> <property name="model">liststore1</property> @@ -1111,7 +1110,7 @@ <property name="can-focus">False</property> <child> <object class="GtkDrawingArea" id="preview"> - <property name="width-request">150</property> + <property name="width-request">225</property> <property name="visible">True</property> <property name="can-focus">False</property> </object> diff --git a/sd/source/ui/dlg/BulletAndPositionDlg.cxx b/sd/source/ui/dlg/BulletAndPositionDlg.cxx index 44eb256f0775..c0f7ffe6c0ae 100644 --- a/sd/source/ui/dlg/BulletAndPositionDlg.cxx +++ b/sd/source/ui/dlg/BulletAndPositionDlg.cxx @@ -1210,10 +1210,6 @@ IMPL_LINK(SvxBulletAndPositionDlg, DistanceHdl_Impl, weld::MetricSpinButton&, rF { m_xDistBorderMF->set_text(u""_ustr); } - - sal_Int32 aLastLevelLSpace - = pActNum->GetLevel(pActNum->GetLevelCount() - 1).GetAbsLSpace() / 40; - m_aPreviewWIN.set_size_request(aLastLevelLSpace, 300); } IMPL_LINK(SvxBulletAndPositionDlg, RelativeHdl_Impl, weld::Toggleable&, rBox, void)
