fixed width and height problem with frame

This commit is contained in:
paul
2025-03-26 19:12:11 +05:30
parent 45847df63d
commit 7f379c0ae6
5 changed files with 39 additions and 78 deletions

View File

@@ -117,7 +117,7 @@ async function generateTkinterCode(projectName, widgetList=[], widgetRefs=[], as
// TODO: avoid adding \n inside the list instead rewrite using code.join("\n")
const code = [
"# This code is generated by PyUIbuilder: https://github.com/PaulleDemon/PyUIBuilder",
"# This code is generated by PyUIbuilder: https://pyuibuilder.com",
"\n\n",
...imports.flatMap((item, index) => index < imports.length - 1 ? [item, "\n"] : [item]), //add \n to every line
"\n\n",