Add flex box support

This commit is contained in:
Frank A. Krueger 2017-06-18 14:11:09 -07:00
parent fa2379b1f7
commit 71e21cfa69
1 changed files with 30 additions and 0 deletions

View File

@ -12,6 +12,11 @@ namespace Ooui
readonly Dictionary<string, Value> properties = readonly Dictionary<string, Value> properties =
new Dictionary<string, Value> (); new Dictionary<string, Value> ();
public Value AlignSelf {
get => this["align-self"];
set => this["align-self"] = value;
}
public Value BackgroundColor { public Value BackgroundColor {
get => this["background-color"]; get => this["background-color"];
set => this["background-color"] = value; set => this["background-color"] = value;
@ -132,6 +137,26 @@ namespace Ooui
set => this["cursor"] = value; 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 { public Value Float {
get => this["float"]; get => this["float"];
set => this["float"] = value; set => this["float"] = value;
@ -207,6 +232,11 @@ namespace Ooui
} }
} }
public Value Order {
get => this["order"];
set => this["order"] = value;
}
public Value PaddingTop { public Value PaddingTop {
get => this["padding-top"]; get => this["padding-top"];
set => this["padding-top"] = value; set => this["padding-top"] = value;