Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
KCalc
Commits
1c068ee3
Commit
1c068ee3
authored
Sep 17, 2021
by
Niklas Freund
Browse files
Make the layout scale correctly with the new history
parent
60ffd94e
Changes
1
Hide whitespace changes
Inline
Side-by-side
kcalc.ui
View file @
1c068ee3
...
...
@@ -6,7 +6,7 @@
<rect>
<x>
0
</x>
<y>
0
</y>
<width>
1
100
</width>
<width>
1
346
</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>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment