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

Fixed size policies for the open/close panel button and text so they don't change relative position as window is resized.

Aries Moczarf6ff22442a93
diff --git a/plugins/assistants/Assistants/AssistantsToolOptions.ui b/plugins/assistants/Assistants/AssistantsToolOptions.ui
index f75205f54f..90ca3904be 100644
--- a/plugins/assistants/Assistants/AssistantsToolOptions.ui
+++ b/plugins/assistants/Assistants/AssistantsToolOptions.ui
@@ -252,9 +252,14 @@
</item>
<item>
<layout class="QHBoxLayout" name="showDockerOptionsLayout">
-
<item>
<widget class="QToolButton" name="showDockerOptionsButton">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Fixed" vsizetype="Fixed ">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
<property name="iconSize">
<size>
<width>18</width>
@@ -266,7 +271,7 @@
<item>
<widget class="QLabel" name="showDockerOptionsLabel">
<property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
+ <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>