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