Update Frame.md

This commit is contained in:
Robert Jelic
2022-08-10 19:59:20 +02:00
committed by GitHub
parent 10c25e7615
commit fb227445df

View File

@@ -402,7 +402,7 @@ local myFrame = basalt.createFrame():setScrollable():setImportantScroll(true)
<frame width="parent.w * 0.5" bg="red"> <frame width="parent.w * 0.5" bg="red">
<button x="2" y="2" width="17" text="Example Button!"/> <button x="2" y="2" width="17" text="Example Button!"/>
</frame> </frame>
<frame x="50%+1" width="50%+1" bg="black"> <frame x="parent.w * 0.5 + 1" width="parent.w * 0.5 +1" bg="black">
<textfield bg="green" x="2" width="parent.w-2" /> <textfield bg="green" x="2" width="parent.w-2" />
</frame> </frame>
</frame> </frame>