Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Put clip properties in a scrollArea to ensure a correct layout

parent afc637cb
......@@ -61,6 +61,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <QToolBar>
#include <QUrl>
#include <QVBoxLayout>
#include <QScrollArea>
AnalysisTree::AnalysisTree(QWidget *parent)
: QTreeWidget(parent)
......@@ -529,8 +530,14 @@ ClipPropertiesController::ClipPropertiesController(ClipController *controller, Q
hlay->addWidget(box);
vbox->addLayout(hlay);
}
m_forcePage->setLayout(vbox);
QScrollArea *scroll = new QScrollArea;
QWidget *forceProp = new QWidget(this);
forceProp->setLayout(vbox);
scroll->setWidget(forceProp);
vbox->addStretch(10);
QVBoxLayout *l2 = new QVBoxLayout;
l2->addWidget(scroll);
m_forcePage->setLayout(l2);
m_tabWidget->addTab(m_propertiesPage, QString());
m_tabWidget->addTab(m_forcePage, QString());
m_tabWidget->addTab(m_markersPage, QString());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment