Skip to content
Snippets Groups Projects
Commit 63223af3 authored by Maximilian Betz's avatar Maximilian Betz
Browse files

some more ui improvements for horizonal view and different devices

parent 5df46b18
No related branches found
No related tags found
No related merge requests found
......@@ -526,3 +526,4 @@ class _AddEventPageState extends State<AddEvent> {
}
//TODO: update shared preferences current event on adding event!
//TODO: long urn string is not displayed correctly!
\ No newline at end of file
......@@ -130,7 +130,8 @@ class _MyHomePageState extends State<Configuration> {
child:
Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
mainAxisAlignment: MainAxisAlignment.spaceBetween,
mainAxisSize: MainAxisSize.max,
children: <Widget>[
const SizedBox(height: 50),
const Text(
......@@ -217,8 +218,8 @@ class _MyHomePageState extends State<Configuration> {
enabled: false,
style: _statusStyle,
controller: TextEditingController(
text: _status,
),
text: _status,
),
),
const SizedBox(height: 15.0),
......@@ -228,11 +229,11 @@ class _MyHomePageState extends State<Configuration> {
),
),
bottomNavigationBar: Container(
margin: const EdgeInsets.symmetric(vertical: 10.0),
child: Row(
mainAxisAlignment: MainAxisAlignment.end,
margin: const EdgeInsets.symmetric(vertical: 10.0, horizontal: 5.0),
child:Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
mainAxisSize: MainAxisSize.max,
children: [
//const SizedBox(width: 10.0),
FloatingActionButton.extended(
heroTag: null,
tooltip: 'Export events to local .json file',
......@@ -242,7 +243,6 @@ class _MyHomePageState extends State<Configuration> {
dumpToFile();
},
),
const SizedBox(width: 50),
FloatingActionButton.extended(
heroTag: null,
tooltip: 'Download corresponding devices and store locally',
......@@ -253,7 +253,6 @@ class _MyHomePageState extends State<Configuration> {
//TODO: display failed as user feedback somehow
},
),
const SizedBox(width: 5.0),
],
),
)
......
......@@ -7,7 +7,6 @@ class Overview extends StatelessWidget {
Widget _buildPopupInfoDialog(BuildContext context) {
return AlertDialog(
title: const Text('Information'),
content: Column(
mainAxisSize: MainAxisSize.min,
crossAxisAlignment: CrossAxisAlignment.center,
......
......@@ -237,15 +237,13 @@ class _ViewEvents extends State<ViewEvents> {
),
),
),
bottomNavigationBar: Row(
mainAxisAlignment: MainAxisAlignment.end,
children: [
const SizedBox(width: 10),
Text(_status, style: _statusStyle),
const SizedBox(width: 50),
Container(
margin: const EdgeInsets.symmetric(vertical: 10.0),
child:
bottomNavigationBar: Container(
margin: const EdgeInsets.symmetric(vertical: 10.0, horizontal: 5.0),
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
const SizedBox(width: 1),
Text(_status, style: _statusStyle),
FloatingActionButton.extended(
heroTag: null,
tooltip: 'Upload Events',
......@@ -255,9 +253,8 @@ class _ViewEvents extends State<ViewEvents> {
syncEvents();
},
),
),
const SizedBox(width: 5.0),
],
],
),
),
);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment