summaryrefslogtreecommitdiff
path: root/cui/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-06-11 14:00:32 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-06-11 14:01:35 +0100
commit21c21e8fd0e94dbb9efcd1220d012fd80867eae2 (patch)
tree52f0c5c997eea9d0d35eca32e45905e85b0d74f6 /cui/source
parentcbfc61a6ca075eb3fbd9a41dea7f9489c5d56770 (diff)
Resolves: fdo#65595 wrap long checkbox string
Change-Id: Ied827721a1ceca69ed33b494f8b55cb4bb1b748b (cherry picked from commit 40a5fd4aa0eab1940fcbde4ff26342a5af0222ee)
Diffstat (limited to 'cui/source')
-rw-r--r--cui/source/options/optinet2.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/cui/source/options/optinet2.cxx b/cui/source/options/optinet2.cxx
index b48986c1ef0e..a2d0096e0f77 100644
--- a/cui/source/options/optinet2.cxx
+++ b/cui/source/options/optinet2.cxx
@@ -585,6 +585,13 @@ SvxSecurityTabPage::SvxSecurityTabPage(Window* pParent, const SfxItemSet& rSet)
{
get(m_pSecurityOptionsPB, "options");
get(m_pSavePasswordsCB, "savepassword");
+
+ //fdo#65595, we height-for-width support here, but for now we can
+ //bodge it
+ Size aSize(m_pSavePasswordsCB->CalcMinimumSize(56*approximate_char_width()));
+ m_pSavePasswordsCB->set_width_request(aSize.Width());
+ m_pSavePasswordsCB->set_height_request(aSize.Height());
+
get(m_pShowConnectionsPB, "connections");
get(m_pMasterPasswordCB, "usemasterpassword");
get(m_pMasterPasswordFT, "masterpasswordtext");