Y'Hello,
I'm using the code below to create a Button - nothing too fancy so far, huh? Anyway, I noticed Button doesn't have a Padding styling property, so my button on iOS looks a bit squished (see image). What's the best way to build in some left and right padding for this Button?
Thanks!
return new Button
{
Text = name,
BorderWidth = 2,
BorderColor = grayColor,
BackgroundColor = whiteColor,
TextColor = tealColor,
Image = name,
Command = new Command(o =>
{
// Determine which page needs to be loaded
// Set the MD Detail to the new content page
MDPage.Detail = CreateAppPage(name);
MDPage.IsPresented = false;
}),
};