changeset 13671:c6dc85026aa6

Rworked margins in layouts.
author Jacob Dawid <jacob.dawid@googlemail.com>
date Sat, 10 Sep 2011 22:04:40 +0200
parents f36624504b97
children c9501268a194
files gui/src/FilesDockWidget.cpp gui/src/IRCWidget.cpp
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gui/src/FilesDockWidget.cpp	Sat Sep 10 21:59:39 2011 +0200
+++ b/gui/src/FilesDockWidget.cpp	Sat Sep 10 22:04:40 2011 +0200
@@ -89,6 +89,7 @@
   layout->setSpacing (0);
   layout->addWidget (m_navigationToolBar);
   layout->addWidget (m_fileTreeView);
+  layout->setMargin (1);
   widget ()->setLayout (layout);
   // TODO: Add right-click contextual menus for copying, pasting, deleting files (and others)
 
--- a/gui/src/IRCWidget.cpp	Sat Sep 10 21:59:39 2011 +0200
+++ b/gui/src/IRCWidget.cpp	Sat Sep 10 22:04:40 2011 +0200
@@ -161,6 +161,7 @@
 
   layout->addWidget (m_chatWindow);
   layout->addWidget (bottomWidget);
+  layout->setMargin (0);
   setLayout (layout);
 
   QHBoxLayout *bottomLayout = new QHBoxLayout ();