Commit 38e970c4 authored by Noah Davis's avatar Noah Davis 🌵
Browse files

[IconLabelContent] Fix typo in leftPadding

parent 4530b332
......@@ -40,7 +40,7 @@ IconLabelLayout {
) {
lpad += control.indicator.width + root.spacing
}
if (reserveSpaceForIcon && !iconVisible && control.icon.width > 0) {
if (reserveSpaceForIcon && !hasIcon && control.icon.width > 0) {
lpad += control.icon.width + root.spacing
}
return lpad
......
Supports Markdown
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