fix: fixed grid row col on load

This commit is contained in:
paul
2025-03-30 05:23:18 +05:30
parent 64631caaaa
commit 53aaa8a670
4 changed files with 46 additions and 14 deletions

View File

@@ -161,7 +161,17 @@ class Frame extends TkinterBase{
]
}
getToolbarAttrs(){
const {layout, ...toolBarAttrs} = super.getToolbarAttrs()
// places layout at the end
return ({
id: this.__id,
...toolBarAttrs,
padding: this.state.attrs.padding,
margin: this.state.attrs.margin,
layout
})
}
renderContent(){
// console.log("bounding rect: ", this.getBoundingRect())