public static VerticalStack GetDialogWindowLayout(int titleHeight) { var layout = new VerticalStack(); layout.SetStyle(Styles.GetDialogLayoutStyle(titleHeight)); layout.SetContentAlignment(ItemAlignment.HCenter); return(layout); }
public static VerticalStack GetSideBarLayout() { VerticalStack layout = new VerticalStack(); layout.SetWidthPolicy(SizePolicy.Fixed); layout.SetWidth(40); layout.SetBackground(35, 35, 35); layout.SetMargin(0, 55, 0, 55); layout.SetContentAlignment(ItemAlignment.VCenter); return(layout); }