aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2018-03-21 14:24:34 -0400
committerKen Moore <ken@ixsystems.com>2018-03-21 14:24:34 -0400
commit00853a147b1d5f81fe13e5a69af199a3d1c763ac (patch)
treeb22c2b34a2d3ca33e6c2a1d700e50666760af349
parentAdd a "Verify File Delete" view option to lumina-fm (diff)
downloadlumina-00853a147b1d5f81fe13e5a69af199a3d1c763ac.tar.gz
lumina-00853a147b1d5f81fe13e5a69af199a3d1c763ac.tar.bz2
lumina-00853a147b1d5f81fe13e5a69af199a3d1c763ac.zip
Fix up the spacing/margins for the UI.
-rw-r--r--src-qt5/desktop-utils/lumina-fm/BrowserWidget.cpp1
-rw-r--r--src-qt5/desktop-utils/lumina-fm/MainUI.ui2
-rw-r--r--src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.ui34
3 files changed, 31 insertions, 6 deletions
diff --git a/src-qt5/desktop-utils/lumina-fm/BrowserWidget.cpp b/src-qt5/desktop-utils/lumina-fm/BrowserWidget.cpp
index 82ce8a33..fcbcdbed 100644
--- a/src-qt5/desktop-utils/lumina-fm/BrowserWidget.cpp
+++ b/src-qt5/desktop-utils/lumina-fm/BrowserWidget.cpp
@@ -19,6 +19,7 @@
BrowserWidget::BrowserWidget(QString objID, QWidget *parent) : QWidget(parent){
//Setup the Widget/UI
this->setLayout( new QVBoxLayout(this) );
+ this->layout()->setContentsMargins(0,0,0,0);
ID = objID;
//Setup the backend browser object
bThread = new QThread();
diff --git a/src-qt5/desktop-utils/lumina-fm/MainUI.ui b/src-qt5/desktop-utils/lumina-fm/MainUI.ui
index 32ccd659..e80fd7fc 100644
--- a/src-qt5/desktop-utils/lumina-fm/MainUI.ui
+++ b/src-qt5/desktop-utils/lumina-fm/MainUI.ui
@@ -74,7 +74,7 @@
</property>
<layout class="QHBoxLayout" name="BrowserLayout">
<property name="spacing">
- <number>2</number>
+ <number>0</number>
</property>
<property name="leftMargin">
<number>0</number>
diff --git a/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.ui b/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.ui
index 5f980c67..a89cc088 100644
--- a/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.ui
+++ b/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.ui
@@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
- <width>400</width>
- <height>389</height>
+ <width>643</width>
+ <height>468</height>
</rect>
</property>
<property name="minimumSize">
@@ -20,14 +20,26 @@
<string>Form</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout" stretch="0,0,0,1,0">
+ <property name="leftMargin">
+ <number>5</number>
+ </property>
+ <property name="topMargin">
+ <number>5</number>
+ </property>
+ <property name="rightMargin">
+ <number>5</number>
+ </property>
+ <property name="bottomMargin">
+ <number>5</number>
+ </property>
<item>
<widget class="QLabel" name="label_rootmode">
<property name="font">
<font>
<family>Droid Sans Mono</family>
- <pointsize>16</pointsize>
+ <pointsize>14</pointsize>
<weight>75</weight>
- <italic>false</italic>
+ <italic>true</italic>
<bold>true</bold>
</font>
</property>
@@ -38,7 +50,7 @@
<enum>QFrame::Sunken</enum>
</property>
<property name="text">
- <string> * - FILE MANAGER RUNNING AS ROOT- * </string>
+ <string>Administrator Mode</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
@@ -134,6 +146,18 @@
<item>
<widget class="QWidget" name="widget" native="true">
<layout class="QHBoxLayout" name="horizontalLayout_4">
+ <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>
<item>
<widget class="QSplitter" name="splitter">
<property name="orientation">
bgstack15