forked from fanruan/fineui
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
532 B
23 lines
532 B
import { shortcut, Widget } from "@/core"; |
|
|
|
@shortcut() |
|
export class CenterAdapt extends Widget { |
|
static xtype = "demo.center_adapt"; |
|
|
|
props = { baseCls: "demo-absolute" }; |
|
|
|
render() { |
|
return { |
|
type: "bi.center_adapt", |
|
items: [ |
|
{ |
|
type: "bi.label", |
|
text: "水平垂直居中", |
|
width: 300, |
|
height: 200, |
|
cls: "layout-bg1", |
|
} |
|
], |
|
}; |
|
} |
|
}
|
|
|