cui/uiconfig/ui/bulletandposition.ui      |    3 +--
 sd/source/ui/dlg/BulletAndPositionDlg.cxx |    4 ----
 2 files changed, 1 insertion(+), 6 deletions(-)

New commits:
commit 86729992a34d1a2af731ade0e3a1dd02222b50b5
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:20 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/+/198916
    Reviewed-by: Adolfo Jayme Barrientos <[email protected]>
    Tested-by: Jenkins

diff --git a/cui/uiconfig/ui/bulletandposition.ui 
b/cui/uiconfig/ui/bulletandposition.ui
index f792235df49a..75c8a2b23c23 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 312dd7425487..d7cadbe070ed 100644
--- a/sd/source/ui/dlg/BulletAndPositionDlg.cxx
+++ b/sd/source/ui/dlg/BulletAndPositionDlg.cxx
@@ -1212,10 +1212,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)

Reply via email to