Commit 1c068ee3 authored by Niklas Freund's avatar Niklas Freund
Browse files

Make the layout scale correctly with the new history

parent 60ffd94e
......@@ -6,7 +6,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>1100</width>
<width>1346</width>
<height>350</height>
</rect>
</property>
......@@ -19,7 +19,7 @@
<property name="windowTitle">
<string>KCalc</string>
</property>
<layout class="QHBoxLayout">
<layout class="QHBoxLayout" stretch="2,1">
<property name="sizeConstraint">
<enum>QLayout::SetMinimumSize</enum>
</property>
......@@ -1422,7 +1422,7 @@
</layout>
</item>
<item>
<widget class="KCalcHistory" name="calc_history">
<widget class="KCalcHistory" name="calc_history" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
<horstretch>0</horstretch>
......@@ -1431,19 +1431,13 @@
</property>
<property name="minimumSize">
<size>
<width>80</width>
<width>256</width>
<height>0</height>
</size>
</property>
<property name="focusPolicy">
<enum>Qt::WheelFocus</enum>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Sunken</enum>
</property>
</widget>
</item>
</layout>
......@@ -1476,6 +1470,11 @@
<extends>QPushButton</extends>
<header>kcalc_const_button.h</header>
</customwidget>
<customwidget>
<class>KCalcHistory</class>
<extends>QWidget</extends>
<header>kcalchistory.h</header>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>pb0</tabstop>
......
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