mirror of
https://github.com/DefinedNet/mobile_nebula.git
synced 2025-01-31 09:27:02 +00:00
Adjust vertical padding for config items
This commit is contained in:
parent
f69f7cc9a3
commit
498623536e
2 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@ class ConfigItem extends StatelessWidget {
|
||||||
|
|
||||||
return Container(
|
return Container(
|
||||||
color: Utils.configItemBackground(context),
|
color: Utils.configItemBackground(context),
|
||||||
padding: EdgeInsets.only(top: 10, bottom: 10, left: 15, right: 20),
|
padding: EdgeInsets.symmetric(vertical: 6, horizontal: 15),
|
||||||
constraints: BoxConstraints(minHeight: Utils.minInteractiveSize),
|
constraints: BoxConstraints(minHeight: Utils.minInteractiveSize),
|
||||||
child: Row(
|
child: Row(
|
||||||
crossAxisAlignment: crossAxisAlignment,
|
crossAxisAlignment: crossAxisAlignment,
|
||||||
|
|
|
@ -45,7 +45,7 @@ class ConfigPageItem extends StatelessWidget {
|
||||||
onPressed: this.disabled ? null : onPressed,
|
onPressed: this.disabled ? null : onPressed,
|
||||||
color: Utils.configItemBackground(context),
|
color: Utils.configItemBackground(context),
|
||||||
child: Container(
|
child: Container(
|
||||||
padding: EdgeInsets.symmetric(horizontal: 15, vertical: 10),
|
padding: EdgeInsets.symmetric(vertical: 6, horizontal: 15),
|
||||||
constraints: BoxConstraints(minHeight: Utils.minInteractiveSize, minWidth: double.infinity),
|
constraints: BoxConstraints(minHeight: Utils.minInteractiveSize, minWidth: double.infinity),
|
||||||
child: Row(
|
child: Row(
|
||||||
crossAxisAlignment: crossAxisAlignment,
|
crossAxisAlignment: crossAxisAlignment,
|
||||||
|
|
Loading…
Reference in a new issue