fixed code generation for custom tkinter

This commit is contained in:
paul
2024-09-30 22:18:08 +05:30
parent af0ac90499
commit 10b6e2872a
21 changed files with 80 additions and 833 deletions

View File

@@ -573,7 +573,10 @@ export class CustomTkWidgetBase extends CustomTkBase{
const config = {
fg_color: `"${this.getAttrValue("styling.backgroundColor")}"`,
text_color: `"${this.getAttrValue("styling.foregroundColor")}"`,
}
if (this.getAttrValue("styling.foregroundColor")){
config["text_color"] = `"${this.getAttrValue("styling.foregroundColor")}"`
}
if (this.getAttrValue("styling.borderRadius")){