summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desktop/source/deployment/gui/dp_gui_dialog2.cxx7
-rw-r--r--desktop/uiconfig/ui/extensionmanager.ui2
2 files changed, 7 insertions, 2 deletions
diff --git a/desktop/source/deployment/gui/dp_gui_dialog2.cxx b/desktop/source/deployment/gui/dp_gui_dialog2.cxx
index 2a439da9900d..5c66a3672859 100644
--- a/desktop/source/deployment/gui/dp_gui_dialog2.cxx
+++ b/desktop/source/deployment/gui/dp_gui_dialog2.cxx
@@ -148,6 +148,8 @@ public:
virtual void MouseButtonDown( const MouseEvent& rMEvt );
virtual long Notify( NotifyEvent& rNEvt );
+ virtual Size GetOptimalSize() const;
+
virtual void RecalcAll();
virtual void selectEntry( const long nPos );
//-----------------
@@ -164,6 +166,11 @@ ExtBoxWithBtns_Impl::ExtBoxWithBtns_Impl(Window* pParent)
{
}
+Size ExtBoxWithBtns_Impl::GetOptimalSize() const
+{
+ return LogicToPixel(Size(250, 150), MapMode(MAP_APPFONT));
+}
+
//------------------------------------------------------------------------------
void ExtBoxWithBtns_Impl::InitFromDialog(ExtMgrDialog *pParentDialog)
{
diff --git a/desktop/uiconfig/ui/extensionmanager.ui b/desktop/uiconfig/ui/extensionmanager.ui
index d94995735e93..2f10a0bb8893 100644
--- a/desktop/uiconfig/ui/extensionmanager.ui
+++ b/desktop/uiconfig/ui/extensionmanager.ui
@@ -89,8 +89,6 @@
<property name="spacing">12</property>
<child>
<object class="deploymentgui-ExtBoxWithBtns" id="extensions">
- <property name="width_request">600</property>
- <property name="height_request">320</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
</object>