Merge pull request #1702 from xegim/ui_padding_fix
fix: Consistent element padding between server picker and login view
This commit is contained in:
commit
c4fb6e4886
1 changed files with 4 additions and 4 deletions
|
|
@ -55,7 +55,7 @@ class LoginView extends StatelessWidget {
|
|||
),
|
||||
const SizedBox(height: 16),
|
||||
Padding(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 8.0),
|
||||
padding: const EdgeInsets.symmetric(horizontal: 24.0),
|
||||
child: TextField(
|
||||
readOnly: controller.loading,
|
||||
autocorrect: false,
|
||||
|
|
@ -77,7 +77,7 @@ class LoginView extends StatelessWidget {
|
|||
),
|
||||
const SizedBox(height: 16),
|
||||
Padding(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 8.0),
|
||||
padding: const EdgeInsets.symmetric(horizontal: 24.0),
|
||||
child: TextField(
|
||||
readOnly: controller.loading,
|
||||
autocorrect: false,
|
||||
|
|
@ -107,7 +107,7 @@ class LoginView extends StatelessWidget {
|
|||
),
|
||||
const SizedBox(height: 16),
|
||||
Padding(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 8.0),
|
||||
padding: const EdgeInsets.symmetric(horizontal: 24.0),
|
||||
child: ElevatedButton(
|
||||
style: ElevatedButton.styleFrom(
|
||||
backgroundColor: theme.colorScheme.primary,
|
||||
|
|
@ -121,7 +121,7 @@ class LoginView extends StatelessWidget {
|
|||
),
|
||||
const SizedBox(height: 16),
|
||||
Padding(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 8.0),
|
||||
padding: const EdgeInsets.symmetric(horizontal: 24.0),
|
||||
child: TextButton(
|
||||
onPressed: controller.loading
|
||||
? () {}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue