Commit 1706af33 authored by Karl Ove Hufthammer's avatar Karl Ove Hufthammer

Set minimum size for the tablet tester area

When the dialogue was resized to be very small, so that there were
hardly any space for the tablet tester painting area, Krita would
freeze. Now, a minumum size of 150 × 150 pixels ensures that this
never happens.
parent 8b418f1a
......@@ -15,7 +15,14 @@
</property>
<layout class="QHBoxLayout" name="horizontalLayout" stretch="1,1">
<item>
<widget class="TabletTester" name="tablettest"/>
<widget class="TabletTester" name="tablettest">
<property name="minimumSize">
<size>
<width>150</width>
<height>150</height>
</size>
</property>
</widget>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment