@@ -3,7 +3,7 @@ import { useState } from "react"
|
||||
import { Component } from "react-godot-renderer"
|
||||
|
||||
|
||||
const HFlowContainer = Component.make(Godot.HFlowContainer)
|
||||
const VFlowContainer = Component.make(Godot.VFlowContainer)
|
||||
const Label = Component.make(Godot.Label)
|
||||
const TextEdit = Component.make(Godot.TextEdit)
|
||||
const Button = Component.make(Godot.Button)
|
||||
@@ -23,7 +23,7 @@ export function TestUi1Component() {
|
||||
|
||||
|
||||
return (
|
||||
<HFlowContainer
|
||||
<VFlowContainer
|
||||
name="Root"
|
||||
anchor_left={0}
|
||||
anchor_top={0}
|
||||
@@ -47,6 +47,6 @@ export function TestUi1Component() {
|
||||
name="Button"
|
||||
text="Ok"
|
||||
/>
|
||||
</HFlowContainer>
|
||||
</VFlowContainer>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user