summaryrefslogtreecommitdiff
path: root/cui/source/options/optgenrl.cxx
diff options
context:
space:
mode:
authorKatarina Behrens <Katarina.Behrens@cib.de>2018-02-26 18:29:27 +0100
committerKatarina Behrens <Katarina.Behrens@cib.de>2018-02-27 10:54:36 +0100
commita5411abe23cdf1e4de3ab5abfe209a4cbf07e511 (patch)
treecdab646784c5f17bc8d996a20b5766ba6f29a01f /cui/source/options/optgenrl.cxx
parent0fad8d308122a862aa49dece498d56a418df2afe (diff)
tdf#1155015: Make sure checkbox text really wraps
for :wrap property to be effective, a reasonable height request is needed so the text is not forced into single line again Change-Id: I3bfe459b4894cad1682d03a8ef77f0c54690bf4d Reviewed-on: https://gerrit.libreoffice.org/50394 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Diffstat (limited to 'cui/source/options/optgenrl.cxx')
-rw-r--r--cui/source/options/optgenrl.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/cui/source/options/optgenrl.cxx b/cui/source/options/optgenrl.cxx
index bd5472ac569f..d3db2cfa9b36 100644
--- a/cui/source/options/optgenrl.cxx
+++ b/cui/source/options/optgenrl.cxx
@@ -329,6 +329,7 @@ void SvxGeneralTabPage::InitCryptography()
m_pSigningKeyLB->set_width_request(aSize.Width());
m_pEncryptionKeyLB->set_width_request(aSize.Width());
m_pEncryptToSelfCB->set_width_request(aSize.Width());
+ m_pEncryptToSelfCB->set_height_request(aSize.Height());
}
}