I have a stacklayout which has multiple buttons with images. All the buttons are the same width on the page and the text is different for each button. My issue is I would like the images to be aligned vertically from button to button on the page. But the images are exactly to the left of the text. So depending on the length of the text the images are not aligned down the page and doesn't look good. Is there a way to align the images or entire content of the button so everything is left aligned?
var tempbutton = new Button();
tempbutton.Text = "1";
tempbutton.Image="myimage.png";
stack.Children.Add(tempbutton);
tempbutton = new TMButton();
tempbutton.Text = "1ab";
tempbutton.Image = "myimage.png";
stack.Children.Add(tempbutton);