From 93ac7b02f14cee8eabf4078d5d9757f4b1ed90e8 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Kempf Date: Tue, 5 Aug 2008 11:52:14 -0700 Subject: [PATCH] Try to fix some OpenDialog sizing issues, reported by trax (no ticket) and hopefully fix #1538 --- modules/gui/qt4/components/open_panels.cpp | 1 + modules/gui/qt4/ui/open.ui | 204 ++++++++++----------- 2 files changed, 93 insertions(+), 112 deletions(-) diff --git a/modules/gui/qt4/components/open_panels.cpp b/modules/gui/qt4/components/open_panels.cpp index 488d3f3427..2f880851dd 100644 --- a/modules/gui/qt4/components/open_panels.cpp +++ b/modules/gui/qt4/components/open_panels.cpp @@ -86,6 +86,7 @@ FileOpenPanel::FileOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) : /* Add a tooltip */ dialogBox->setToolTip( qtr( "Select one or multiple files" ) ); + dialogBox->setMinimumHeight( 250 ); // But hide the two OK/Cancel buttons. Enable them for debug. QDialogButtonBox *fileDialogAcceptBox = diff --git a/modules/gui/qt4/ui/open.ui b/modules/gui/qt4/ui/open.ui index 7c4f5baa8e..a29c2b6642 100644 --- a/modules/gui/qt4/ui/open.ui +++ b/modules/gui/qt4/ui/open.ui @@ -9,8 +9,8 @@ 0 0 - 520 - 668 + 537 + 640 @@ -28,24 +28,11 @@ Dialog - - - - - - 0 - 1 - - - - - 500 - 400 - - - + + + - + _("Show extended options") @@ -55,9 +42,9 @@ - + - + @@ -136,17 +123,17 @@ - - - - + _("Play another media synchronously (extra audio file, ...)") - + + + + _("Extra media") @@ -156,10 +143,10 @@ - + - + _("Select the file") @@ -169,10 +156,7 @@ - - - - + _("Customize") @@ -182,7 +166,10 @@ - + + + + _("Complete MRL for VLC internal") @@ -192,87 +179,80 @@ - - - - 0 + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + 0 + 0 + + + + + 20 + 16777215 + + + + Qt::ClickFocus + + + Qt::NoContextMenu + + + _("Select play mode") + + + + + + + + 0 + 0 + - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - - 0 - 0 - - - - - 20 - 16777215 - - - - Qt::ClickFocus - - - Qt::NoContextMenu - - - _("Select play mode") - - - - - - - - 0 - 0 - - - - - 0 - 0 - - - - Play - - - true - - - - - - - - 0 - 0 - - - - QDialogButtonBox::NoButton - - - - + + + 0 + 0 + + + + Play + + + true + + + + + + + + 0 + 0 + + + + QDialogButtonBox::NoButton + + - + Qt::Vertical -- 2.39.5