mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-04 11:26:12 -04:00
Adjust the way properties view UI displays
It didn't really look very nice in most cases and the controls were always compacted, doing this makes it look a bit better. Also change it so the properties window shows the properties on the bottom below the source rather than to the right, seeing as in most cases the source has a greater width than height, and it feels just a little bit better to look at (thought that's just my opinion). Controls still stretch really far sometimes though, I wonder what should be done about that to be honest. Maybe prevent it from scrolling to the right?
This commit is contained in:
1 parent
89e02ca73c
commit
fbbf274c51
4 files changed
+29
-15
No files matched your search
@@ -48,7 +48,8 @@ OBSBasicProperties::OBSBasicProperties(QWidget *parent, OBSSource source_)
|
||||
source, (PropertiesUpdateCallback)obs_source_update);
|
||||
|
||||
layout()->addWidget(view);
|
||||
layout()->setAlignment(view, Qt::AlignRight);
|
||||
layout()->setAlignment(view, Qt::AlignBottom);
|
||||
view->setMinimumHeight(150);
|
||||
view->show();
|
||||
|
||||
connect(windowHandle(), &QWindow::screenChanged, [this]() {
|
||||
|
||||
Reference in new issue
Block a user