From 6f88a7064972ca6116b6a19020a8a69ee5162357 Mon Sep 17 00:00:00 2001 From: grummbeer Date: Fri, 17 Mar 2023 19:19:52 +0100 Subject: [PATCH] Unify Input. Remove hardcoded style (remote id) --- flutter/lib/desktop/pages/connection_page.dart | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/flutter/lib/desktop/pages/connection_page.dart b/flutter/lib/desktop/pages/connection_page.dart index 30fe07b95..b6debbd8d 100644 --- a/flutter/lib/desktop/pages/connection_page.dart +++ b/flutter/lib/desktop/pages/connection_page.dart @@ -193,7 +193,7 @@ class _ConnectionPageState extends State style: const TextStyle( fontFamily: 'WorkSans', fontSize: 22, - height: 1.25, + height: 1.4, ), maxLines: 1, cursorColor: @@ -204,22 +204,8 @@ class _ConnectionPageState extends State hintText: _idInputFocused.value ? null : translate('Enter Remote ID'), - border: OutlineInputBorder( - borderRadius: BorderRadius.zero, - borderSide: BorderSide( - color: MyTheme.color(context).border!)), - enabledBorder: OutlineInputBorder( - borderRadius: BorderRadius.zero, - borderSide: BorderSide( - color: MyTheme.color(context).border!)), - focusedBorder: const OutlineInputBorder( - borderRadius: BorderRadius.zero, - borderSide: - BorderSide(color: MyTheme.button, width: 3), - ), - isDense: true, contentPadding: const EdgeInsets.symmetric( - horizontal: 10, vertical: 12)), + horizontal: 15, vertical: 13)), controller: _idController, inputFormatters: [IDTextInputFormatter()], onSubmitted: (s) {