mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-06 23:00:59 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user