[Libreoffice-commits] .: desktop/source

David Tardon dtardon at kemper.freedesktop.org
Mon Apr 2 03:50:08 PDT 2012


 desktop/source/deployment/gui/dp_gui_dialog2.cxx |    3 ---
 1 file changed, 3 deletions(-)

New commits:
commit c4c6b52a214b474353013f9b1b03d56a5d9a0380
Author: David Tardon <dtardon at redhat.com>
Date:   Mon Apr 2 12:46:43 2012 +0200

    fdo#47963 do not increase height of checkboxes
    
    Especially as it is obvious the grow is unbounded .-)

diff --git a/desktop/source/deployment/gui/dp_gui_dialog2.cxx b/desktop/source/deployment/gui/dp_gui_dialog2.cxx
index 5e94e31..0450159 100644
--- a/desktop/source/deployment/gui/dp_gui_dialog2.cxx
+++ b/desktop/source/deployment/gui/dp_gui_dialog2.cxx
@@ -1247,19 +1247,16 @@ void ExtMgrDialog::Resize()
     long nWidth = m_aBundledCbx.GetCtrlTextWidth( m_aBundledCbx.GetText() );
     Size aBCBSize(m_aBundledCbx.GetSizePixel());
     aBCBSize.Width() = nWidth + 30;
-    aBCBSize.Height() += 3;
     m_aBundledCbx.SetSizePixel( aBCBSize );
 
     nWidth = m_aSharedCbx.GetCtrlTextWidth( m_aSharedCbx.GetText() );
     Size aSCBSize(m_aSharedCbx.GetSizePixel());
     aSCBSize.Width() = nWidth + 30;
-    aSCBSize.Height() += 3;
     m_aSharedCbx.SetSizePixel( aSCBSize );
 
     nWidth = m_aUserCbx.GetCtrlTextWidth( m_aUserCbx.GetText() );
     Size aUCBSize(m_aUserCbx.GetSizePixel());
     aUCBSize.Width() = nWidth + 30;
-    aUCBSize.Height() += 3;
     m_aUserCbx.SetSizePixel( aUCBSize );
 
     offsetX = 0.5*(aTotalSize.Width() - RSC_SP_DLG_INNERBORDER_LEFT - RSC_SP_DLG_INNERBORDER_RIGHT - 3*RSC_SP_CTRL_GROUP_X - aBCBSize.Width() - aSCBSize.Width() - aUCBSize.Width() );


More information about the Libreoffice-commits mailing list