Skip to content

Commit

Permalink
Removed layout options since control is wrapped in RelativeLayout.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrfalch committed Jun 22, 2016
1 parent 442aae9 commit ca37e27
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions NControl.Controls/NControl.Controls/WizardLayout.cs
Expand Up @@ -36,10 +36,8 @@ public WizardLayout()
var layout = new RelativeLayout();
Children.Add(layout);

// Content
_contentStack = new WizardStackLayout {
VerticalOptions = LayoutOptions.Center
};
// Content
_contentStack = new WizardStackLayout();

// Pager
_pager = new PagingView();
Expand Down Expand Up @@ -149,7 +147,7 @@ private void UpdatePages()

_pager.PageCount = _contentStack.Children.Count;

FocusFirstEntry();
FocusFirstEntry();
}
else
{
Expand Down Expand Up @@ -211,7 +209,7 @@ private Entry GetFirstEntry(IViewContainer<View> viewContainer)
/// </summary>
public class WizardStackLayout : Layout<View>
{
/// <summary>
/// <summary>
/// Layouts the children.
/// </summary>
/// <returns>The children.</returns>
Expand Down

0 comments on commit ca37e27

Please sign in to comment.