diff options
author | David Tardon <dtardon@redhat.com> | 2012-04-02 12:46:43 +0200 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2012-04-02 15:55:50 +0200 |
commit | 330726cc715df115420b04b974f263a23651e75f (patch) | |
tree | 200693549f7567e5a6217ab8de898186127abd24 /desktop | |
parent | f1afee4b1f40d45b6b4a11e7b1bfe5253627e80f (diff) |
fdo#47963 do not increase height of checkboxes
Especially as it is obvious the grow is unbounded .-)
Signed-off-by: Andras Timar <atimar@suse.com>
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 de324eff140d..58e06eda8ace 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() ); |