Refactored canvas.BorderTrait and layout.MarginTrait, enabled opposed-axis sizing in layout.LinearLayout