From c4c6b52a214b474353013f9b1b03d56a5d9a0380 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Mon, 2 Apr 2012 12:46:43 +0200 Subject: fdo#47963 do not increase height of checkboxes Especially as it is obvious the grow is unbounded .-) --- desktop/source/deployment/gui/dp_gui_dialog2.cxx | 3 --- 1 file changed, 3 deletions(-) (limited to 'desktop') diff --git a/desktop/source/deployment/gui/dp_gui_dialog2.cxx b/desktop/source/deployment/gui/dp_gui_dialog2.cxx index 5e94e31438fd..0450159f25ce 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() ); -- cgit