Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using StackView on different sized buttons

I am having problems using stack view with different sized buttons.

This is what I am trying to achieve with StackView enter image description here

I'm having issues with stack view because buttons '=' and '0' are different size.

This is what I've managed, but you can see the the alignment is not correct and the sizing is off. enter image description here

By looking at the images, does anyone have any suggestions on how I can achieve the desired look?

like image 692
breaktop Avatar asked Mar 28 '26 17:03

breaktop


1 Answers

Here is my solution(for = button). enter image description here

The Distributions of stack views is(from top to bottom in Outline):

Fill Proportionally

Fill

Fill Equally

Fill Equally

like image 156
Lumialxk Avatar answered Apr 02 '26 22:04

Lumialxk



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!