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

Fix/UI: Stop color selector widget from expanding while sampling.

Emmet O'Neill14953c925c0b
diff --git a/libs/widgets/WdgDlgInternalColorSelector.ui b/libs/widgets/WdgDlgInternalColorSelector.ui
index 813d0c4e0c..aa78a8a09f 100644
--- a/libs/widgets/WdgDlgInternalColorSelector.ui
+++ b/libs/widgets/WdgDlgInternalColorSelector.ui
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="utf-8"?>
+<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<author>
SPDX-FileCopyrightText: none
@@ -245,7 +245,7 @@
<item>
<widget class="QWidget" name="screenColorSamplerWidget" native="true">
<property name="sizePolicy">
- <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
+ <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>