You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I saw in the readme that there are 3 different ways to define height.
// Calculate height using auto-layout
LabelBrick(height: .auto(estimate: .fixed(size: 50)), text: "BRICK"),
// Fixed Height
LabelBrick(height: .fixed(size: 50), text: "BRICK"),
// Calculate height based on ratio of the width
LabelBrick(height: .ratio(ratio: 1), text: "BRICK")
However I did not see a way to set the height depending on the superView height (like there is for the width).
For instance, if I want to have cells being a third of the height, I do not know how to proceed : I can update the section in viewWillTransitionTo() but I would like not to use this ugly solution
The text was updated successfully, but these errors were encountered:
I saw in the readme that there are 3 different ways to define height.
However I did not see a way to set the height depending on the superView height (like there is for the width).
For instance, if I want to have cells being a third of the height, I do not know how to proceed : I can update the section in viewWillTransitionTo() but I would like not to use this ugly solution
The text was updated successfully, but these errors were encountered: