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
@@ -132,7 +132,7 @@ ShaderViewer::ShaderViewer(ICaptureContext &ctx, QWidget *parent)
QHBoxLayout *toolbarlayout = new QHBoxLayout(disasmToolbar);
toolbarlayout->setSpacing(2);
toolbarlayout->setContentsMargins(2, 2, 2, 2);
toolbarlayout->setContentsMargins(3, 3, 3, 3);
m_DisassemblyType = new QComboBox(disasmToolbar);
m_DisassemblyType->setMaxVisibleItems(12);