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++

Changed the arrangement of the floating editor widget to conform to a 3x2 button ratio.

Aries Moczard3ebadcdd8bd
diff --git a/libs/ui/kis_painting_assistants_decoration.h b/libs/ui/kis_painting_assistants_decoration.h
index ce8a3d2672..8aacba490d 100644
--- a/libs/ui/kis_painting_assistants_decoration.h
+++ b/libs/ui/kis_painting_assistants_decoration.h
@@ -56,7 +56,7 @@ struct AssistantEditorData {
const QPixmap m_iconDuplicate = KisIconUtils::loadIcon("duplicateitem").pixmap(buttonSize, buttonSize);
const QPixmap m_iconDelete = KisIconUtils::loadIcon("deletelayer").pixmap(buttonSize, buttonSize);
//how many buttons fit horizontally before extending to the next row
- const int horizontalButtonLimit = 4;
+ const int horizontalButtonLimit = 3;
};
/**