Skip to content

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

opt ui of Windows session dialog (#13303)

21pages3242d132f6ce
diff --git a/flutter/lib/common/widgets/dialog.dart b/flutter/lib/common/widgets/dialog.dart
index b8aed9791..4fac95c6c 100644
--- a/flutter/lib/common/widgets/dialog.dart
+++ b/flutter/lib/common/widgets/dialog.dart
@@ -2121,15 +2121,20 @@ void showWindowsSessionsDialog(
return CustomAlertDialog(
title: null,
- content: msgboxContent(type, title, text),
+ content: Column(
+ mainAxisSize: MainAxisSize.min,
+ children: [
+ msgboxContent(type, title, text).marginOnly(bottom: 12),
+ ComboBox(
+ keys: sids,
+ values: names,
+ initialKey: selectedUserValue,
+ onChanged: (value) {
+ selectedUserValue = value;
+ }),
+ ],
+ ),
actions: [
- ComboBox(
- keys: sids,
- values: names,
- initialKey: selectedUserValue,
- onChanged: (value) {
- selectedUserValue = value;
- }),
dialogButton('Connect', onPressed: submit, isOutline: false),
],
);