Add more consistency to docking panels and widgets

* Dock panels shouldn't have any frame border or anything like that.
* They should have an external margin of 3 pixels at their border,
  but then no further margins on the layouts (like sub-controls for
  the pipeline state views.
* Toolbars should be Raised & Panel frames. Later we'll replace them
  with actual QToolBars to better customise the painting.
This commit is contained in:
baldurk
2017-07-28 19:06:46 +01:00
parent 541aa23a93
commit d57cc1b188
19 changed files with 263 additions and 270 deletions
+1 -1
View File
@@ -576,7 +576,7 @@ TextureViewer::TextureViewer(ICaptureContext &ctx, QWidget *parent)
QVBoxLayout *vertical = new QVBoxLayout(this);
vertical->setSpacing(3);
vertical->setContentsMargins(0, 0, 0, 0);
vertical->setContentsMargins(3, 3, 3, 3);
QWidget *flow1widget = new QWidget(this);
QWidget *flow2widget = new QWidget(this);