Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++

Reorganize widgets order

Alexandre Moraisad7c7bf6a9f7
diff --git a/plugins/dockers/overview/overviewdocker_page.cpp b/plugins/dockers/overview/overviewdocker_page.cpp
index f51571f13a..6a6caa925a 100644
--- a/plugins/dockers/overview/overviewdocker_page.cpp
+++ b/plugins/dockers/overview/overviewdocker_page.cpp
@@ -183,12 +183,11 @@ void OverviewDockerPage::setCanvas(KoCanvasBase * canvas)
m_controlsSecondRowLayout = new QHBoxLayout();
+ m_controlsSecondRowLayout->addWidget(m_pinControlsButton);
m_controlsSecondRowLayout->addWidget(m_rotateAngleSelector);
- m_controlsSecondRowLayout->addStretch();
m_controlsSecondRowLayout->addWidget(m_mirrorCanvas);
- m_controlsSecondRowLayout->addWidget(m_grayscaleButton);
m_controlsSecondRowLayout->addStretch();
- m_controlsSecondRowLayout->addWidget(m_pinControlsButton);
+ m_controlsSecondRowLayout->addWidget(m_grayscaleButton);
m_controlsLayout->addLayout(m_controlsSecondRowLayout);
//m_zoomSlider->setVisible(true);