Skip to content

Commit ca37e27

Browse files
committed
Removed layout options since control is wrapped in RelativeLayout.
1 parent 442aae9 commit ca37e27

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

NControl.Controls/NControl.Controls/WizardLayout.cs

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,8 @@ public WizardLayout()
3636
var layout = new RelativeLayout();
3737
Children.Add(layout);
3838

39-
// Content
40-
_contentStack = new WizardStackLayout {
41-
VerticalOptions = LayoutOptions.Center
42-
};
39+
// Content
40+
_contentStack = new WizardStackLayout();
4341

4442
// Pager
4543
_pager = new PagingView();
@@ -149,7 +147,7 @@ private void UpdatePages()
149147

150148
_pager.PageCount = _contentStack.Children.Count;
151149

152-
FocusFirstEntry();
150+
FocusFirstEntry();
153151
}
154152
else
155153
{
@@ -211,7 +209,7 @@ private Entry GetFirstEntry(IViewContainer<View> viewContainer)
211209
/// </summary>
212210
public class WizardStackLayout : Layout<View>
213211
{
214-
/// <summary>
212+
/// <summary>
215213
/// Layouts the children.
216214
/// </summary>
217215
/// <returns>The children.</returns>

0 commit comments

Comments
 (0)