aboutsummaryrefslogtreecommitdiff
path: root/lumina-fm
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2015-10-15 11:59:47 -0400
committerKen Moore <moorekou@gmail.com>2015-10-15 11:59:47 -0400
commita51363523b0d5662bdd5b7fc778404f6db386b76 (patch)
tree85e3b32001063cc9f1cdc85e03cd3b17e5425eb4 /lumina-fm
parentUpdate the lumina-fm thumbnail loader to run in a *truly* separate thread fro... (diff)
downloadlumina-a51363523b0d5662bdd5b7fc778404f6db386b76.tar.gz
lumina-a51363523b0d5662bdd5b7fc778404f6db386b76.tar.bz2
lumina-a51363523b0d5662bdd5b7fc778404f6db386b76.zip
Increase the minimum size for a DirWidget quite a bit, and setup all the DirWidgets within a horizontal scroll area (for column view with lots of columns).
Diffstat (limited to 'lumina-fm')
-rw-r--r--lumina-fm/MainUI.cpp1
-rw-r--r--lumina-fm/MainUI.ui45
-rw-r--r--lumina-fm/widgets/DirWidget.ui8
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>
bgstack15