public void ConsumeInstruction(FlowLayoutInstruction instruction) { if (instruction == FlowLayoutInstruction.Linebreak) { if (HasRoomForAnotherRow(LayoutNode.NamelessLeaf(LayoutSize.Pixels(0, 0)))) { AddNewRow(); } } }
public LayoutNodeOrInstruction(FlowLayoutInstruction flowInstruction) { InternalInstruction = flowInstruction; }