made UI more responsive to screen size
This commit is contained in:
parent
84c2fb1f2a
commit
d7bcb29eda
1 changed files with 7 additions and 7 deletions
|
@ -158,7 +158,7 @@ class ReceiptPage2State extends State<ReceiptPage2> {
|
||||||
), // "Receipt Details" title
|
), // "Receipt Details" title
|
||||||
|
|
||||||
Container(
|
Container(
|
||||||
padding: EdgeInsets.fromLTRB(25,15,15.0,0.0),
|
padding: EdgeInsets.fromLTRB(MediaQuery.of(context).size.width * 0.05,15,MediaQuery.of(context).size.width * 0.05,0.0),
|
||||||
child: Tooltip(
|
child: Tooltip(
|
||||||
message: "Date and time of transaction",
|
message: "Date and time of transaction",
|
||||||
child: Row(
|
child: Row(
|
||||||
|
@ -221,7 +221,7 @@ class ReceiptPage2State extends State<ReceiptPage2> {
|
||||||
), // Date/Time picker
|
), // Date/Time picker
|
||||||
|
|
||||||
Container(
|
Container(
|
||||||
padding: EdgeInsets.fromLTRB(25,15,15.0,0.0),
|
padding: EdgeInsets.fromLTRB(MediaQuery.of(context).size.width * 0.05,15,MediaQuery.of(context).size.width * 0.05,0.0),
|
||||||
child: Tooltip(
|
child: Tooltip(
|
||||||
message: "Transaction payee",
|
message: "Transaction payee",
|
||||||
child: Row(
|
child: Row(
|
||||||
|
@ -275,7 +275,7 @@ class ReceiptPage2State extends State<ReceiptPage2> {
|
||||||
), // Organisation picker
|
), // Organisation picker
|
||||||
|
|
||||||
Container(
|
Container(
|
||||||
padding: EdgeInsets.fromLTRB(25,15,15.0,0.0),
|
padding: EdgeInsets.fromLTRB(MediaQuery.of(context).size.width * 0.05,15,MediaQuery.of(context).size.width * 0.05,0.0),
|
||||||
child: Tooltip(
|
child: Tooltip(
|
||||||
message: "Transaction recrudescence",
|
message: "Transaction recrudescence",
|
||||||
child: Row(
|
child: Row(
|
||||||
|
@ -331,7 +331,7 @@ class ReceiptPage2State extends State<ReceiptPage2> {
|
||||||
), // Recurring picker
|
), // Recurring picker
|
||||||
|
|
||||||
Container(
|
Container(
|
||||||
padding: EdgeInsets.fromLTRB(25,15,15.0,0.0),
|
padding: EdgeInsets.fromLTRB(MediaQuery.of(context).size.width * 0.05,15,MediaQuery.of(context).size.width * 0.05,0.0),
|
||||||
child: Row(
|
child: Row(
|
||||||
children: <Widget> [
|
children: <Widget> [
|
||||||
Container(
|
Container(
|
||||||
|
@ -387,7 +387,7 @@ class ReceiptPage2State extends State<ReceiptPage2> {
|
||||||
), // Category picker
|
), // Category picker
|
||||||
|
|
||||||
Container(
|
Container(
|
||||||
padding: EdgeInsets.fromLTRB(25,15,15.0,0.0),
|
padding: EdgeInsets.fromLTRB(MediaQuery.of(context).size.width * 0.05,15,MediaQuery.of(context).size.width * 0.05,0.0),
|
||||||
child: Tooltip(
|
child: Tooltip(
|
||||||
message: "Essential or not",
|
message: "Essential or not",
|
||||||
child: Row(
|
child: Row(
|
||||||
|
@ -420,7 +420,7 @@ class ReceiptPage2State extends State<ReceiptPage2> {
|
||||||
), // Essential
|
), // Essential
|
||||||
|
|
||||||
Container(
|
Container(
|
||||||
padding: EdgeInsets.fromLTRB(25,15,15.0,0.0),
|
padding: EdgeInsets.fromLTRB(MediaQuery.of(context).size.width * 0.05,15,MediaQuery.of(context).size.width * 0.05,0.0),
|
||||||
child: Tooltip(
|
child: Tooltip(
|
||||||
message: "Transaction amount",
|
message: "Transaction amount",
|
||||||
child: Row(
|
child: Row(
|
||||||
|
@ -456,7 +456,7 @@ class ReceiptPage2State extends State<ReceiptPage2> {
|
||||||
), // Amount picker
|
), // Amount picker
|
||||||
|
|
||||||
Padding(
|
Padding(
|
||||||
padding: EdgeInsets.fromLTRB(20.0, 20.0, 20.0, 0.0),
|
padding: EdgeInsets.fromLTRB(MediaQuery.of(context).size.width * 0.05,15,MediaQuery.of(context).size.width * 0.05,0.0),
|
||||||
child: Tooltip(
|
child: Tooltip(
|
||||||
message: "Submit receipt",
|
message: "Submit receipt",
|
||||||
child: Container(
|
child: Container(
|
||||||
|
|
Reference in a new issue