From 71e21cfa69e3ff26073aaf86a4a670d75d3edc2e Mon Sep 17 00:00:00 2001 From: "Frank A. Krueger" Date: Sun, 18 Jun 2017 14:11:09 -0700 Subject: [PATCH] Add flex box support --- Ooui/Style.cs | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/Ooui/Style.cs b/Ooui/Style.cs index a7b1823..28447da 100644 --- a/Ooui/Style.cs +++ b/Ooui/Style.cs @@ -12,6 +12,11 @@ namespace Ooui readonly Dictionary properties = new Dictionary (); + public Value AlignSelf { + get => this["align-self"]; + set => this["align-self"] = value; + } + public Value BackgroundColor { get => this["background-color"]; set => this["background-color"] = value; @@ -132,6 +137,26 @@ namespace Ooui set => this["cursor"] = value; } + public Value Display { + get => this["display"]; + set => this["display"] = value; + } + + public Value FlexFlow { + get => this["flex-flow"]; + set => this["flex-flow"] = value; + } + + public Value FlexGrow { + get => this["flex-grow"]; + set => this["flex-grow"] = value; + } + + public Value FlexShrink { + get => this["flex-shrink"]; + set => this["flex-shrink"] = value; + } + public Value Float { get => this["float"]; set => this["float"] = value; @@ -207,6 +232,11 @@ namespace Ooui } } + public Value Order { + get => this["order"]; + set => this["order"] = value; + } + public Value PaddingTop { get => this["padding-top"]; set => this["padding-top"] = value;