mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-01 00:28:18 +08:00
fix profile actions constraints
Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
@@ -92,9 +92,11 @@ class RenderHeaderWidget extends RenderBox
|
|||||||
final childSize =
|
final childSize =
|
||||||
(actions..layout(
|
(actions..layout(
|
||||||
BoxConstraints(
|
BoxConstraints(
|
||||||
maxWidth:
|
maxWidth: math.max(
|
||||||
|
0.0,
|
||||||
maxWidth - _kActionsLeftPadding - _kActionsRightPadding,
|
maxWidth - _kActionsLeftPadding - _kActionsRightPadding,
|
||||||
),
|
),
|
||||||
|
),
|
||||||
parentUsesSize: true,
|
parentUsesSize: true,
|
||||||
))
|
))
|
||||||
.size;
|
.size;
|
||||||
|
|||||||
Reference in New Issue
Block a user