-
-
Notifications
You must be signed in to change notification settings - Fork 10
Crow.Wrapper
Jean-Philippe Bruyère edited this page Oct 26, 2021
·
3 revisions
group control that arrange its children in a direction and jump to the next line or row when no room is left
namespace: Crow
Wrapper
public class Wrapper : GenericStack
⬜ | prototype | description |
---|---|---|
Wrapper (Interface iface, string style=null) |
__ |
⬜ | name | description |
---|
⬜ | prototype | description |
---|---|---|
void ChildrenLayoutingConstraints(ILayoutable layoutable, ref LayoutingType layoutType) |
Used to prevent some layouting type in children. For example, in the GenericStack, x layouting is dismissed in the direction of the stacking to let the parent arrange children in the x direction. | |
void ComputeChildrenPositions() |
__ | |
int measureRawSize(LayoutingType lt) |
return size of content + margins | |
void OnChildLayoutChanges(object sender, LayoutingEventArgs arg) |
__ | |
void OnLayoutChanges(LayoutingType layoutType) |
trigger dependant sizing component update | |
bool UpdateLayout(LayoutingType layoutType) |
Update layout component only one at a time, this is where the computation of alignement and size take place. The redrawing will only be triggered if final slot size has changed |
⬜ | name | description |
---|