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