Skip to content
GitLab
Menu
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
11ccb441
Commit
11ccb441
authored
Sep 12, 2021
by
Niklas Freund
Browse files
Fixed bitset layout at minimum size
parent
d81633bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
kcalc_bitset.cpp
View file @
11ccb441
...
...
@@ -102,6 +102,7 @@ KCalcBitset::KCalcBitset(QWidget *parent)
auto
label
=
new
QLabel
(
this
);
label
->
setText
(
QString
::
number
(
bitCounter
+
1
));
label
->
setFont
(
fnt
);
label
->
setMinimumSize
(
label
->
fontMetrics
().
size
(
Qt
::
TextSingleLine
,
QStringLiteral
(
"56"
)));
// Make all labels have same size
wordlayout
->
addWidget
(
label
);
wordlayout
->
setStretch
(
8
,
1
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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