opt: scrollable on menubar, avoid overflow
This commit is contained in:
parent
b2827303e1
commit
20be9e10b1
@ -439,9 +439,12 @@ class _RemoteMenubarState extends State<RemoteMenubar> {
|
|||||||
color: Colors.white,
|
color: Colors.white,
|
||||||
border: Border.all(color: MyTheme.border),
|
border: Border.all(color: MyTheme.border),
|
||||||
),
|
),
|
||||||
child: Row(
|
child: SingleChildScrollView(
|
||||||
mainAxisSize: MainAxisSize.min,
|
scrollDirection: Axis.horizontal,
|
||||||
children: menubarItems,
|
child: Row(
|
||||||
|
mainAxisSize: MainAxisSize.min,
|
||||||
|
children: menubarItems,
|
||||||
|
),
|
||||||
)),
|
)),
|
||||||
_buildDraggableShowHide(context),
|
_buildDraggableShowHide(context),
|
||||||
]));
|
]));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user