diff options
Diffstat (limited to 'lumina-fm')
-rw-r--r-- | lumina-fm/MainUI.cpp | 1 | ||||
-rw-r--r-- | lumina-fm/MainUI.ui | 45 | ||||
-rw-r--r-- | lumina-fm/widgets/DirWidget.ui | 8 |
3 files changed, 52 insertions, 2 deletions
diff --git a/lumina-fm/MainUI.cpp b/lumina-fm/MainUI.cpp index 54b61a30..10b6dc82 100644 --- a/lumina-fm/MainUI.cpp +++ b/lumina-fm/MainUI.cpp @@ -136,6 +136,7 @@ void MainUI::OpenDirs(QStringList dirs){ } //Create the new DirWidget DirWidget *DW = new DirWidget("DW-"+QString::number(id), this); + DW->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding); ui->BrowserLayout->addWidget(DW); DWLIST << DW; //Connect the signals/slots for it diff --git a/lumina-fm/MainUI.ui b/lumina-fm/MainUI.ui index 62b9d685..f3787279 100644 --- a/lumina-fm/MainUI.ui +++ b/lumina-fm/MainUI.ui @@ -33,7 +33,7 @@ <number>0</number> </property> <widget class="QWidget" name="page_browser"> - <layout class="QHBoxLayout" name="BrowserLayout"> + <layout class="QHBoxLayout" name="BrowserPageLayout"> <property name="spacing"> <number>0</number> </property> @@ -49,6 +49,49 @@ <property name="bottomMargin"> <number>0</number> </property> + <item> + <widget class="QScrollArea" name="scroll_browsers"> + <property name="frameShape"> + <enum>QFrame::NoFrame</enum> + </property> + <property name="verticalScrollBarPolicy"> + <enum>Qt::ScrollBarAlwaysOff</enum> + </property> + <property name="sizeAdjustPolicy"> + <enum>QAbstractScrollArea::AdjustToContents</enum> + </property> + <property name="widgetResizable"> + <bool>true</bool> + </property> + <widget class="QWidget" name="scrollAreaWidgetContents"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>567</width> + <height>373</height> + </rect> + </property> + <layout class="QHBoxLayout" name="BrowserLayout"> + <property name="spacing"> + <number>2</number> + </property> + <property name="leftMargin"> + <number>0</number> + </property> + <property name="topMargin"> + <number>0</number> + </property> + <property name="rightMargin"> + <number>0</number> + </property> + <property name="bottomMargin"> + <number>0</number> + </property> + </layout> + </widget> + </widget> + </item> </layout> </widget> <widget class="QWidget" name="page_player"/> diff --git a/lumina-fm/widgets/DirWidget.ui b/lumina-fm/widgets/DirWidget.ui index 1825cd0d..4278a3f0 100644 --- a/lumina-fm/widgets/DirWidget.ui +++ b/lumina-fm/widgets/DirWidget.ui @@ -10,6 +10,12 @@ <height>349</height> </rect> </property> + <property name="minimumSize"> + <size> + <width>350</width> + <height>0</height> + </size> + </property> <property name="windowTitle"> <string>Form</string> </property> @@ -124,7 +130,7 @@ <string notr="true">Status</string> </property> <property name="wordWrap"> - <bool>true</bool> + <bool>false</bool> </property> </widget> </item> |