From 91f30887454b13d4cf785f43767911837a733594 Mon Sep 17 00:00:00 2001 From: lemoer Date: Sat, 5 Jul 2025 23:54:18 +0200 Subject: [PATCH] Use Wrap in Favor Of Row in KeepOrDeleteKey-Widget --- app/lib/main.dart | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/app/lib/main.dart b/app/lib/main.dart index bc9dc22..0e43398 100644 --- a/app/lib/main.dart +++ b/app/lib/main.dart @@ -229,7 +229,7 @@ class _MyHomePageState extends State { padding: EdgeInsets.all(20), child: TextButton( onPressed: () => authentikApiState.start(key), - child: Text("Manage Keys Registered To Server"), + child: Text("Manage Keys Registered To Lock"), ), ), ], @@ -671,8 +671,9 @@ class KeepOrDeleteKey extends StatelessWidget { Widget titleWidget = Text(title, style: TextStyle(fontSize: 25)); if (isOurKey) { - titleWidget = Row( - mainAxisAlignment: MainAxisAlignment.spaceEvenly, + titleWidget = Wrap( + spacing: 8.0, // horizontaler Abstand zwischen den Elementen + runSpacing: 4.0, // vertikaler Abstand zwischen den Zeilen children: [ titleWidget, Container( @@ -701,8 +702,9 @@ class KeepOrDeleteKey extends StatelessWidget { ), Padding( padding: EdgeInsets.fromLTRB(20, 0, 20, 20), - child: Row( - mainAxisAlignment: MainAxisAlignment.spaceAround, + child: Wrap( + spacing: 8.0, // horizontaler Abstand zwischen den Elementen + runSpacing: 4.0, // vertikaler Abstand zwischen den Zeilen children: [ TextButton( onPressed: () {