mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-01-19 00:13:01 +08:00
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,
|
||||
border: Border.all(color: MyTheme.border),
|
||||
),
|
||||
child: Row(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: menubarItems,
|
||||
child: SingleChildScrollView(
|
||||
scrollDirection: Axis.horizontal,
|
||||
child: Row(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: menubarItems,
|
||||
),
|
||||
)),
|
||||
_buildDraggableShowHide(context),
|
||||
]));
|
||||
|
Loading…
Reference in New Issue
Block a user