Example #1
0
        public FlowLayoutWidget(FlowDirection direction = FlowDirection.LeftToRight)
        {
            HAnchor = HAnchor.FitToChildren;
            VAnchor = VAnchor.FitToChildren;

            layoutEngine = new LayoutEngineFlow(direction);
            LayoutEngine = layoutEngine;
        }
Example #2
0
        public FlowLayoutWidget(UI.FlowDirection dirrection = UI.FlowDirection.LeftToRight, 
            HAnchor hAnchor = HAnchor.FitToChildren, VAnchor vAnchor = VAnchor.FitToChildren)
            : base(hAnchor, vAnchor)
        {
            Padding = DefaultPadding;
            Margin = DefaultMargin;

            LayoutEngine = new LayoutEngineFlow(dirrection);
        }
Example #3
0
        public FlowLayoutWidget(UI.FlowDirection dirrection = UI.FlowDirection.LeftToRight,
                                HAnchor hAnchor             = HAnchor.FitToChildren, VAnchor vAnchor = VAnchor.FitToChildren)
            : base(hAnchor, vAnchor)
        {
            Padding = DefaultPadding;
            Margin  = DefaultMargin;

            LayoutEngine = new LayoutEngineFlow(dirrection);
        }
Example #4
0
 public FlowLayoutWidget(FlowDirection direction = FlowDirection.LeftToRight, HAnchor hAnchor = HAnchor.FitToChildren, VAnchor vAnchor = VAnchor.FitToChildren)
     : base(hAnchor, vAnchor)
 {
     layoutEngine = new LayoutEngineFlow(direction);
     LayoutEngine = layoutEngine;
 }
Example #5
0
 public FlowLayoutWidget(FlowDirection direction = FlowDirection.LeftToRight)
 {
     this.HAnchor      = HAnchor.Fit;
     this.VAnchor      = VAnchor.Fit;
     this.LayoutEngine = layoutEngine = new LayoutEngineFlow(direction);
 }