diff options
author | David Tardon <dtardon@redhat.com> | 2012-04-02 12:46:43 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-04-02 12:50:00 +0200 |
commit | c4c6b52a214b474353013f9b1b03d56a5d9a0380 (patch) | |
tree | 9de5d17542aabd10b02a0a757712a27e2f44737a /desktop | |
parent | 802518c59a2cf4b47ff893305ad9781db4353ec2 (diff) |
fdo#47963 do not increase height of checkboxes
Especially as it is obvious the grow is unbounded .-)
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/deployment/gui/dp_gui_dialog2.cxx | 3 |
1 files changed, 0 insertions, 3 deletions
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() ); |