ui/wpf/UIcore/Window.cs

changeset 138
d781436e2490
parent 137
c9b8b9e0cfe8
equal deleted inserted replaced
137:c9b8b9e0cfe8 138:d781436e2490
78 78
79 // content 79 // content
80 RowDefinition contentRow = new RowDefinition(); 80 RowDefinition contentRow = new RowDefinition();
81 contentRow.Height = new GridLength(1, GridUnitType.Star); 81 contentRow.Height = new GridLength(1, GridUnitType.Star);
82 windowGrid.RowDefinitions.Add(contentRow); 82 windowGrid.RowDefinitions.Add(contentRow);
83 BoxContainer vbox = new BoxContainer(BoxOrientation.VERTICAL); 83 BoxContainer vbox = new BoxContainer(BoxOrientation.VERTICAL, 0, 0);
84 Grid.SetColumn(vbox, 0); 84 Grid.SetColumn(vbox, 0);
85 Grid.SetRow(vbox, rowIndex); 85 Grid.SetRow(vbox, rowIndex);
86 windowGrid.Children.Add(vbox); 86 windowGrid.Children.Add(vbox);
87 rowIndex++; 87 rowIndex++;
88 88

mercurial