Mercurial > hg > octave-nkf
comparison gui/src/FilesDockWidget.cpp @ 13671:c6dc85026aa6
Rworked margins in layouts.
author | Jacob Dawid <jacob.dawid@googlemail.com> |
---|---|
date | Sat, 10 Sep 2011 22:04:40 +0200 |
parents | ee49f1a15c06 |
children | c0e66d6e3dc8 |
comparison
equal
deleted
inserted
replaced
13670:f36624504b97 | 13671:c6dc85026aa6 |
---|---|
87 QVBoxLayout * | 87 QVBoxLayout * |
88 layout = new QVBoxLayout (); | 88 layout = new QVBoxLayout (); |
89 layout->setSpacing (0); | 89 layout->setSpacing (0); |
90 layout->addWidget (m_navigationToolBar); | 90 layout->addWidget (m_navigationToolBar); |
91 layout->addWidget (m_fileTreeView); | 91 layout->addWidget (m_fileTreeView); |
92 layout->setMargin (1); | |
92 widget ()->setLayout (layout); | 93 widget ()->setLayout (layout); |
93 // TODO: Add right-click contextual menus for copying, pasting, deleting files (and others) | 94 // TODO: Add right-click contextual menus for copying, pasting, deleting files (and others) |
94 | 95 |
95 connect (m_currentDirectory, SIGNAL (returnPressed ()), this, | 96 connect (m_currentDirectory, SIGNAL (returnPressed ()), this, |
96 SLOT (currentDirectoryEntered ())); | 97 SLOT (currentDirectoryEntered ())); |