remove padding from button & change button size to 50

This commit is contained in:
2024-08-15 15:43:59 +02:00
parent 146e10f1a3
commit 3874534c7a
15 changed files with 33 additions and 34 deletions

View File

@@ -290,7 +290,7 @@ class _AddPatientState extends State<AddPatient> {
SizedBox(
width: 450.0,
height: 100.0,
height: 50.0,
child: MIHButton(
onTap: () {
submitForm();

View File

@@ -258,7 +258,7 @@ class _EditPatientState extends State<EditPatient> {
),
SizedBox(
width: 300,
height: 100,
height: 50,
child: MIHButton(
onTap: deletePatientApiCall,
buttonText: "Delete",
@@ -505,7 +505,7 @@ class _EditPatientState extends State<EditPatient> {
//const SizedBox(height: 10.0),
SizedBox(
width: 500.0,
height: 100.0,
height: 50.0,
child: MIHButton(
onTap: () {
submitForm();

View File

@@ -294,7 +294,7 @@ class _ProfileBusinessAddState extends State<ProfileBusinessAdd> {
const SizedBox(height: 15.0),
SizedBox(
width: 500.0,
height: 100.0,
height: 50.0,
child: MIHButton(
buttonText: "Add",
buttonColor:

View File

@@ -385,7 +385,7 @@ class _ProfileBusinessUpdateState extends State<ProfileBusinessUpdate> {
const SizedBox(height: 15.0),
SizedBox(
width: 500.0,
height: 100.0,
height: 50.0,
child: MIHButton(
buttonText: "Add",
buttonColor: MzanziInnovationHub.of(context)!

View File

@@ -228,7 +228,7 @@ class _ProfileUserUpdateState extends State<ProfileUserUpdate> {
const SizedBox(height: 10.0),
SizedBox(
width: 500.0,
height: 100.0,
height: 50.0,
child: MIHButton(
buttonText: "Update",
buttonColor:

View File

@@ -308,7 +308,7 @@ class _RegisterState extends State<Register> {
// sign up button
SizedBox(
width: 500.0,
height: 100.0,
height: 50.0,
child: MIHButton(
buttonText: "Sign Up",
buttonColor: MzanziInnovationHub.of(context)!

View File

@@ -172,7 +172,7 @@ class _SignInState extends State<SignIn> {
// sign in button
SizedBox(
width: 500.0,
height: 100.0,
height: 50.0,
child: MIHButton(
buttonText: "Sign In",
buttonColor: MzanziInnovationHub.of(context)!