forked from qt-creator/qt-creator
QmlDesigner: Properly define toolbar height everywhere
Adjusting some icons and details. Change-Id: Iedf79ebeac2dc73fccf48e85bd524461a2fd6807 Reviewed-by: Ali Kianian <ali.kianian@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -39,6 +39,7 @@ CurveEditorToolBar::CurveEditorToolBar(CurveEditorModel *model, QWidget* parent)
|
||||
|
||||
{
|
||||
setFloatable(false);
|
||||
setFixedHeight(Theme::toolbarSize());
|
||||
setContentsMargins(0, 0, 0, 0);
|
||||
|
||||
QAction *tangentLinearAction = addAction(Theme::iconFromName(Theme::linear_medium), "Linear");
|
||||
@@ -111,6 +112,7 @@ CurveEditorToolBar::CurveEditorToolBar(CurveEditorModel *model, QWidget* parent)
|
||||
addWidget(durationWidget);
|
||||
|
||||
auto *positionBox = new QHBoxLayout;
|
||||
positionBox->setContentsMargins(0, 0, 0, 0);
|
||||
positionBox->addWidget(new QLabel(tr("Current Frame")));
|
||||
positionBox->addWidget(m_currentSpin);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user