sw/source/ui/fldui/fldvar.cxx | 2 +- sw/uiconfig/swriter/ui/fldvarpage.ui | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
New commits: commit 2b45427a567d1d52951b6f61aaea74147dab10cf Author: Oliver Specht <oliver.spe...@cib.de> AuthorDate: Mon Jul 22 09:42:41 2024 +0200 Commit: Thorsten Behrens <thorsten.behr...@allotropia.de> CommitDate: Tue Jul 30 00:29:17 2024 +0200 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.behr...@allotropia.de> diff --git a/sw/source/ui/fldui/fldvar.cxx b/sw/source/ui/fldui/fldvar.cxx index 01be468828f1..6b2bb3eb7c5b 100644 --- a/sw/source/ui/fldui/fldvar.cxx +++ b/sw/source/ui/fldui/fldvar.cxx @@ -72,7 +72,7 @@ SwFieldVarPage::SwFieldVarPage(weld::Container* pPage, weld::DialogController* p m_xFormatLB->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>