align desktop elements

This commit is contained in:
sneurlax 2023-01-24 11:01:01 -06:00
parent dc30b5d42a
commit 8a70e9def4

View file

@ -661,7 +661,8 @@ class _BuyFormState extends ConsumerState<BuyForm> {
.extension<StackColors>()! .extension<StackColors>()!
.textFieldDefaultBG, .textFieldDefaultBG,
child: Padding( child: Padding(
padding: const EdgeInsets.all(12), padding: const EdgeInsets.only(
left: 16.0, top: 12.0, right: 12.0, bottom: 12.0),
child: Row( child: Row(
children: <Widget>[ children: <Widget>[
Text( Text(
@ -687,7 +688,7 @@ class _BuyFormState extends ConsumerState<BuyForm> {
// width: 18, // width: 18,
// ), // ),
const SizedBox( const SizedBox(
width: 10, width: 15,
), ),
Expanded( Expanded(
child: Text( child: Text(
@ -789,6 +790,7 @@ class _BuyFormState extends ConsumerState<BuyForm> {
child: Padding( child: Padding(
padding: const EdgeInsets.all(12), padding: const EdgeInsets.all(12),
child: Row(children: [ child: Row(children: [
const SizedBox(width: 10), // maybe make isDesktop-aware?
buyWithFiat buyWithFiat
? Text( ? Text(
format.simpleCurrencySymbol( format.simpleCurrencySymbol(
@ -807,7 +809,7 @@ class _BuyFormState extends ConsumerState<BuyForm> {
) )
: getIconForTicker(selectedCrypto?.ticker ?? "BTC") : getIconForTicker(selectedCrypto?.ticker ?? "BTC")
as Widget, as Widget,
const SizedBox(width: 10), // maybe make isDesktop-aware? const SizedBox(width: 15), // maybe make isDesktop-aware?
Text( Text(
buyWithFiat buyWithFiat
? selectedFiat?.ticker ?? "ERR" ? selectedFiat?.ticker ?? "ERR"