mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-14 23:34:08 +00:00
UI: Use VScrollArea for properties view
This commit is contained in:
parent
4993f2fa22
commit
0a481d5bcc
|
@ -85,7 +85,7 @@ void OBSPropertiesView::RefreshProperties()
|
|||
OBSPropertiesView::OBSPropertiesView(OBSData settings_, void *obj_,
|
||||
PropertiesReloadCallback reloadCallback,
|
||||
PropertiesUpdateCallback callback_, int minSize_)
|
||||
: QScrollArea (nullptr),
|
||||
: VScrollArea (nullptr),
|
||||
widget (nullptr),
|
||||
properties (nullptr, obs_properties_destroy),
|
||||
settings (settings_),
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#include <QScrollArea>
|
||||
#include "vertical-scroll-area.hpp"
|
||||
#include <obs.hpp>
|
||||
#include <vector>
|
||||
#include <memory>
|
||||
|
@ -45,7 +45,7 @@ public slots:
|
|||
|
||||
/* ------------------------------------------------------------------------- */
|
||||
|
||||
class OBSPropertiesView : public QScrollArea {
|
||||
class OBSPropertiesView : public VScrollArea {
|
||||
Q_OBJECT
|
||||
|
||||
friend class WidgetInfo;
|
||||
|
|
Loading…
Reference in a new issue