This is an automated email from the ASF dual-hosted git repository.

mseidel pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/openoffice.git


The following commit(s) were added to refs/heads/trunk by this push:
     new df6cdda7a5 When installing an extension via Extension Manager the 
'Cancel' button is too close to the fixed line below. On Ubuntu it overlaps it.
df6cdda7a5 is described below

commit df6cdda7a5db918472b846ff555b27426423fa02
Author: mseidel <[email protected]>
AuthorDate: Mon Sep 29 22:06:17 2025 +0200

    When installing an extension via Extension Manager the 'Cancel' button is 
too close to the
    fixed line below. On Ubuntu it overlaps it.
    
    This quick fix hopefully moves it far enough to solve it.
---
 main/desktop/source/deployment/gui/dp_gui_dialog2.cxx | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/main/desktop/source/deployment/gui/dp_gui_dialog2.cxx 
b/main/desktop/source/deployment/gui/dp_gui_dialog2.cxx
index 03ce320b99..a4ac7fdc47 100644
--- a/main/desktop/source/deployment/gui/dp_gui_dialog2.cxx
+++ b/main/desktop/source/deployment/gui/dp_gui_dialog2.cxx
@@ -19,8 +19,6 @@
  *
  *************************************************************/
 
-
-
 // MARKER(update_precomp.py): autogen include statement, do not remove
 #include "precompiled_desktop.hxx"
 
@@ -86,7 +84,6 @@ using namespace ::com::sun::star::system;
 
 using ::rtl::OUString;
 
-
 namespace dp_gui {
 
 #define TOP_OFFSET           5
@@ -942,7 +939,7 @@ uno::Sequence< OUString > ExtMgrDialog::raiseAddPicker()
     xFilterManager->setCurrentFilter( sDefaultFilter );
 
     if ( xFilePicker->execute() != ui::dialogs::ExecutableDialogResults::OK )
-        return uno::Sequence<OUString>(); // cancelled
+        return uno::Sequence<OUString>(); // canceled
 
     m_sLastFolderURL = xFilePicker->getDisplayDirectory();
     uno::Sequence< OUString > files( xFilePicker->getFiles() );
@@ -1145,7 +1142,7 @@ void ExtMgrDialog::Resize()
     m_aDivider.SetPosSizePixel( aPos, aDivSize );
 
     Size aFTSize( m_aGetExtensions.CalcMinimumSize() );
-    aPos = Point( RSC_SP_DLG_INNERBORDER_LEFT, aPos.Y() - 
RSC_CD_FIXEDTEXT_HEIGHT - 2*RSC_SP_DLG_INNERBORDER_BOTTOM );
+    aPos = Point( RSC_SP_DLG_INNERBORDER_LEFT, aPos.Y() - 
RSC_CD_FIXEDTEXT_HEIGHT - 2 * RSC_SP_DLG_INNERBORDER_BOTTOM - 4 );
 
     m_aGetExtensions.SetPosSizePixel( aPos, aFTSize );
 
@@ -1822,3 +1819,5 @@ sal_Int16 UpdateRequiredDialogService::execute() throw ( 
uno::RuntimeException )
 SelectedPackage::~SelectedPackage() {}
 
 } //namespace dp_gui
+
+/* vim: set noet sw=4 ts=4: */

Reply via email to