mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-24 23:31:36 +08:00
UI: Use VScrollArea for properties view
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user