mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-08-25 02:42:26 +00:00
Made SpaceSubSpacesDialog
scrollable, for a better UX, and to account for a very long list of subspaces.
This commit is contained in:
@ -89,7 +89,12 @@ class _SpaceSubSpacesDialogState extends State<SpaceSubSpacesDialog> {
|
|||||||
),
|
),
|
||||||
child: const SelectableText('Create Sub-Space'),
|
child: const SelectableText('Create Sub-Space'),
|
||||||
),
|
),
|
||||||
content: Column(
|
content: ConstrainedBox(
|
||||||
|
constraints: BoxConstraints(
|
||||||
|
maxHeight: context.screenHeight * 0.4,
|
||||||
|
),
|
||||||
|
child: SingleChildScrollView(
|
||||||
|
child: Column(
|
||||||
spacing: 12,
|
spacing: 12,
|
||||||
mainAxisSize: MainAxisSize.min,
|
mainAxisSize: MainAxisSize.min,
|
||||||
children: [
|
children: [
|
||||||
@ -112,6 +117,8 @@ class _SpaceSubSpacesDialogState extends State<SpaceSubSpacesDialog> {
|
|||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
actions: [
|
actions: [
|
||||||
SpaceDetailsActionButtons(
|
SpaceDetailsActionButtons(
|
||||||
onSave: _hasDuplicateNames ? null : _handleSave,
|
onSave: _hasDuplicateNames ? null : _handleSave,
|
||||||
|
Reference in New Issue
Block a user