diff options
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/querydesign/querydlg.cxx | 5 | ||||
-rw-r--r-- | dbaccess/uiconfig/ui/joindialog.ui | 1 |
2 files changed, 6 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"); diff --git a/dbaccess/uiconfig/ui/joindialog.ui b/dbaccess/uiconfig/ui/joindialog.ui index 650fc44c9950..7be228310859 100644 --- a/dbaccess/uiconfig/ui/joindialog.ui +++ b/dbaccess/uiconfig/ui/joindialog.ui @@ -167,6 +167,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> + <property name="yalign">0</property> <property name="wrap">True</property> <property name="max_width_chars">48</property> </object> |