sw/source/ui/fldui/fldvar.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 49c4e4d6ee126d41e14aac3b982779439412f94c
Author:     Oliver Specht <oliver.spe...@cib.de>
AuthorDate: Mon Jan 13 13:00:08 2025 +0100
Commit:     Gabor Kelemen <gabor.kelemen.ext...@allotropia.de>
CommitDate: Thu Jan 23 10:19:46 2025 +0100

    tdf#160621 Variable field dialog size of value field
    
    The size of the value field is now set to 6 rows.
    
    Change-Id: I298a0dfc5c61c18a170b2e8f7a700dab17b5ee66
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/180174
    Tested-by: allotropia jenkins <jenk...@allotropia.de>
    Reviewed-by: Gabor Kelemen <gabor.kelemen.ext...@allotropia.de>

diff --git a/sw/source/ui/fldui/fldvar.cxx b/sw/source/ui/fldui/fldvar.cxx
index c9a04729f094..c2a8178c3dec 100644
--- a/sw/source/ui/fldui/fldvar.cxx
+++ b/sw/source/ui/fldui/fldvar.cxx
@@ -129,7 +129,7 @@ void SwFieldVarPage::Reset(const SfxItemSet* )
         m_xFormatLB->set_size_request(nWidth, nHeight/2);
         auto size = m_xValueED->get_widget().get_size_request();
         m_xValueED->get_widget().set_size_request(size.getWidth(),
-                                                  
m_xValueED->get_widget().get_height_rows(5));
+                                                  
m_xValueED->get_widget().get_height_rows(6));
         const SwField* pCurField = GetCurField();
         assert(pCurField && "<SwFieldVarPage::Reset(..)> - <SwField> instance 
missing!");
         nTypeId = pCurField->GetTypeId();

Reply via email to