From f2e7f9d962c36d717af9470d8addc528bc14e1f6 Mon Sep 17 00:00:00 2001 From: Sabine Lim Date: Mon, 8 May 2023 18:57:54 +1000 Subject: [PATCH] Add align items --- Basalt/plugins/xml.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Basalt/plugins/xml.lua b/Basalt/plugins/xml.lua index ae8567f..31c906e 100644 --- a/Basalt/plugins/xml.lua +++ b/Basalt/plugins/xml.lua @@ -476,6 +476,8 @@ return { self:setFlexDirection(value) elseif (name == "justifyContent") then self:setJustifyContent(value) + elseif (name == "alignItems") then + self:setAlignItems(value) elseif (name == "spacing") then self:setSpacing(value) end @@ -486,6 +488,7 @@ return { self:updateSpecifiedValuesByXMLData(data, { "flexDirection", "justifyContent", + "alignItems", "spacing" }) return self