summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-09-08 15:49:24 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-09-08 15:53:17 +0100
commit3fc1e691c5e14f3b7a2579b563188e814f731cf6 (patch)
treee1f19e2f064e8bfb44b410eb65081e3ca890af51 /dbaccess/source/ui
parent1f7e6bdd23600cf118b786bbeb869949c36297e7 (diff)
Resolves: fdo#83501 STR_QUERY_* populate the join dialog
Change-Id: Id4cff969297009c9f9cd3323ac01c743b29ca6c4
Diffstat (limited to 'dbaccess/source/ui')
-rw-r--r--dbaccess/source/ui/querydesign/querydlg.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/dbaccess/source/ui/querydesign/querydlg.cxx b/dbaccess/source/ui/querydesign/querydlg.cxx
index b655a9b72ae4..23db605d8501 100644
--- a/dbaccess/source/ui/querydesign/querydlg.cxx
+++ b/dbaccess/source/ui/querydesign/querydlg.cxx
@@ -55,6 +55,11 @@ DlgQryJoin::DlgQryJoin( OQueryTableView * pParent,
, m_xConnection(_xConnection)
{
get(m_pML_HelpText, "helptext");
+ Size aSize(LogicToPixel(Size(179, 49), MAP_APPFONT));
+ //alternatively loop through the STR_QUERY_* strings with their STR_JOIN_TYPE_HINT
+ //suffix to find the longest entry at runtime
+ m_pML_HelpText->set_height_request(aSize.Height());
+ m_pML_HelpText->set_width_request(aSize.Width());
get(m_pLB_JoinType, "type");
get(m_pCBNatural, "natural");
get(m_pPB_OK, "ok");