Skip to content

Commit

Permalink
take padding into account when calculating auto size
Browse files Browse the repository at this point in the history
  • Loading branch information
ianharrigan committed Sep 27, 2024
1 parent 4d3973d commit c97382a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion haxe/ui/components/TabBar.hx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ class TabBarLayout extends DefaultLayout {
max = b.height;
}
}
size.height = max;
size.height = max + paddingTop + paddingBottom;
return size;
}
}
Expand Down

0 comments on commit c97382a

Please sign in to comment.