adding more widget attributes

This commit is contained in:
paul
2024-09-27 16:04:03 +05:30
parent 7b4446d9ee
commit 77b1c5a0f0
16 changed files with 251 additions and 58 deletions

View File

@@ -17,6 +17,7 @@ class TopLevel extends Widget{
this.state = {
...this.state,
size: { width: 450, height: 200 },
widgetName: "top level",
attrs: {
...this.state.attrs,
title: {
@@ -34,7 +35,6 @@ class TopLevel extends Widget{
componentDidMount(){
super.componentDidMount()
this.setAttrValue("styling.backgroundColor", "#E4E2E2")
this.setWidgetName("toplevel")
}
generateCode(variableName, parent){