Skip to content
This repository was archived by the owner on Jun 11, 2022. It is now read-only.
This repository was archived by the owner on Jun 11, 2022. It is now read-only.

TZStackView Storyboard Support does not seem to be working #4

@SOFSPEEL

Description

@SOFSPEEL

TZStackView is supposed to support Storyboards (says so in ReadMe), but the vertical StackView is not laying out properly. One thing I noticed is that in the Xamarin design view I get an "Error while creating this entry" screen shot below.

Also I'm attaching my Xamarin project (see Junk.zip), where u'll see that the StackView setup in ViewController.cs is totally ignored:
StackView.Distribution = TZStackView.Distribution.FillEqualy;
StackView.Alignment = TZStackView.Alignment.Fill;
StackView.Spacing = 25;
StackView.Axis = UILayoutConstraintAxis.Vertical;
StackView.TranslatesAutoresizingMaskIntoConstraints = false;

Essentially all I'm trying to do is setup a vertical stackview where the button fill the width of the stackview and space equal vertically with some space, without setting any constraints on the stackview subviews (i.e. the buttons).

image

junk5.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions