Styling changes #21

Merged
Jeremy Kescher merged 5 commits from jeremy/0128/styling™ into master 2020-01-29 10:38:20 +00:00
Showing only changes of commit c89ac94aed - Show all commits

View file

@ -203,9 +203,8 @@ class _ServerListState extends State<ServerList> {
Padding(
padding: const EdgeInsets.all(8.0),
child: Row(children: [
Expanded(
child: RaisedButton(
child: Text("Confirm"),
RaisedButton(
child: Text("Cancel"),
onPressed: () {
if (_formKey.currentState.validate()) {
_formKey.currentState.save();
@ -213,7 +212,7 @@ class _ServerListState extends State<ServerList> {
}
},
),
),
Expanded(child:Text(' ')),
RaisedButton(
child: Text("Confirm"),
onPressed: () {
@ -224,6 +223,7 @@ class _ServerListState extends State<ServerList> {
server.uri = uri.text;
});
Navigator.of(context).pop();
_updateServerStatus(server);
}
},
)
@ -338,7 +338,7 @@ class _ServerListState extends State<ServerList> {
color: Colors.grey,
),
onPressed: () {
_removeServer(index);
_modifyServerForm(servers[index]);
},
),
]),