feat:update demo
This commit is contained in:
parent
ddc1442815
commit
cefe087b3f
@ -97,7 +97,7 @@ class RefreshableDemo extends Panel {
|
||||
}),
|
||||
]).apply({
|
||||
layoutConfig: layoutConfig().atmost().h(LayoutSpec.WRAP_CONTENT),
|
||||
gravity: gravity().center(),
|
||||
gravity: gravity().centerX(),
|
||||
space: 10,
|
||||
} as IVLayout))
|
||||
}).apply({
|
||||
|
@ -38,7 +38,7 @@ export function boxStr(str: string, idx = 0) {
|
||||
|
||||
export function title(str: string) {
|
||||
return text({
|
||||
text: "Network Demo",
|
||||
text: str,
|
||||
layoutConfig: layoutConfig().w(LayoutSpec.AT_MOST),
|
||||
textSize: 30,
|
||||
textColor: Color.WHITE,
|
||||
|
Reference in New Issue
Block a user