diff options
author | Oliver Specht <oliver.specht@cib.de> | 2024-07-22 09:42:41 +0200 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2024-12-19 20:10:28 +0100 |
commit | 9e25a2ac615c2c1c0832a56b4afb4a526d9a5d6e (patch) | |
tree | 6eda5e59aae3b377fa673739d0e5cb8ce90a93c8 | |
parent | 89764e6a51b2c43992491a28870c69ee0e98ee9a (diff) |
related tdf#160621: request extra height for field value entry
With this, both edit and add fields dialog should look near-identical
at this spot (seems extra rows are needed for native dialogs like gtk,
while Windows wants the extra height-request).
Change-Id: Iafee3d60d33c9eee6020e9ef49aaac900222a0e6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170835
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
Signed-off-by: Xisco Fauli <xiscofauli@libreoffice.org>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178823
-rw-r--r-- | sw/source/ui/fldui/fldvar.cxx | 2 | ||||
-rw-r--r-- | sw/uiconfig/swriter/ui/fldvarpage.ui | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/ui/fldui/fldvar.cxx b/sw/source/ui/fldui/fldvar.cxx index f690623a2dfa..c3a529650a17 100644 --- a/sw/source/ui/fldui/fldvar.cxx +++ b/sw/source/ui/fldui/fldvar.cxx @@ -73,7 +73,7 @@ SwFieldVarPage::SwFieldVarPage(weld::Container* pPage, weld::DialogController* p m_xNumFormatLB->get_widget().set_size_request(nWidth, nHeight/2); m_xValueED->get_widget().set_size_request(m_xValueED->get_widget().get_preferred_size().Width(), - m_xValueED->get_widget().get_height_rows(3)); + m_xValueED->get_widget().get_height_rows(6)); m_sOldValueFT = m_xValueFT->get_label(); m_sOldNameFT = m_xNameFT->get_label(); diff --git a/sw/uiconfig/swriter/ui/fldvarpage.ui b/sw/uiconfig/swriter/ui/fldvarpage.ui index 94782577de46..d6bea58f3034 100644 --- a/sw/uiconfig/swriter/ui/fldvarpage.ui +++ b/sw/uiconfig/swriter/ui/fldvarpage.ui @@ -46,8 +46,8 @@ </object> <!-- n-columns=3 n-rows=2 --> <object class="GtkGrid" id="FieldVarPage"> - <property name="width-request">600</property> - <property name="height-request">300</property> + <property name="width-request">700</property> + <property name="height-request">400</property> <property name="visible">True</property> <property name="can-focus">False</property> <property name="hexpand">True</property> |