Use Wrap in Favor Of Row in KeepOrDeleteKey-Widget
This commit is contained in:
parent
1cff53640e
commit
91f3088745
@ -229,7 +229,7 @@ class _MyHomePageState extends State<MyHomePage> {
|
||||
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: () {
|
||||
|
Loading…
x
Reference in New Issue
Block a user