Exemplo n.º 1
0
        public static HorizontalStack GetHorizontalButtonLayout()
        {
            var layout = new HorizontalStack();

            //layout.SetStyle(Styles.GetHorizontalButtonLayoutStyle());
            layout.SetMinWidth(300);
            layout.SetMaxHeight(50);
            layout.SetContentAlignment(ItemAlignment.HCenter);
            layout.SetSizePolicy(SizePolicy.Expand, SizePolicy.Fixed);
            layout.SetHeight(60);
            layout.SetSpacing(20);
            return(layout);
        }