Merge pull request #38 from cake-tech/CWA-177-UI-bug

Cwa 177 ui bug
This commit is contained in:
M 2020-03-04 18:12:00 +02:00
commit 16ffaae0f3
3 changed files with 20 additions and 7 deletions

View file

@ -321,7 +321,7 @@ class DashboardPageBodyState extends State<DashboardPageBody> {
),
Padding(
padding: const EdgeInsets.only(
left: 35, right: 35, bottom: 30),
left: 20, right: 20, bottom: 30),
child: Container(
child: Row(
mainAxisAlignment:

View file

@ -79,6 +79,7 @@ class SettingsFormState extends State<SettingsForm> {
widget: Observer(
builder: (_) => Text(
settingsStore.node == null ? '' : settingsStore.node.uri,
textAlign: TextAlign.right,
style: TextStyle(
fontSize: 16.0,
color:
@ -92,6 +93,7 @@ class SettingsFormState extends State<SettingsForm> {
widget: Observer(
builder: (_) => Text(
settingsStore.balanceDisplayMode.toString(),
textAlign: TextAlign.right,
style: TextStyle(
fontSize: 16.0,
color:
@ -104,6 +106,7 @@ class SettingsFormState extends State<SettingsForm> {
widget: Observer(
builder: (_) => Text(
settingsStore.fiatCurrency.toString(),
textAlign: TextAlign.right,
style: TextStyle(
fontSize: 16.0,
color:
@ -116,6 +119,7 @@ class SettingsFormState extends State<SettingsForm> {
widget: Observer(
builder: (_) => Text(
settingsStore.transactionPriority.toString(),
textAlign: TextAlign.right,
style: TextStyle(
fontSize: 16.0,
color:

View file

@ -18,14 +18,23 @@ class SettingsTextListRow extends StatelessWidget {
color: Theme.of(context).accentTextTheme.headline.backgroundColor,
child: ListTile(
contentPadding: EdgeInsets.only(left: 20.0, right: 20.0),
title: Observer(
builder: (_) => Text(
title: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: <Widget>[
Flexible(
child: Observer(
builder: (_) => Text(
settingsStore.itemHeaders[title],
style: TextStyle(
fontSize: 16.0,
color: Theme.of(context).primaryTextTheme.title.color),
)),
trailing: widget,
fontSize: 16.0,
color: Theme.of(context).primaryTextTheme.title.color),
)),
),
Flexible(
child: widget
)
],
),
onTap: onTaped,
),
);