Make app buttons the same height as outlined buttons
This commit is contained in:
parent
12426aed84
commit
b8c7789b83
|
|
@ -35,7 +35,10 @@ class AppButton extends StatelessWidget {
|
|||
text: label,
|
||||
alignment: MainAxisAlignment.center,
|
||||
)
|
||||
: Text(label, overflow: TextOverflow.ellipsis),
|
||||
: SizedBox(
|
||||
child: Text(label, overflow: TextOverflow.ellipsis),
|
||||
height: 24,
|
||||
),
|
||||
onPressed: onPressed,
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue