Skip to content

[BUG] invalid attr:variable? #44

@mrx23dot

Description

@mrx23dot

A simple layout like this executes on green button:,
2024-10-31 13_23_26-Formation studio - C__apps_myApps_mSerial_testlayout xml

but when I add a checkbox, it doesn't show a preview when I press the green button.

if I remove
attr:variable=".!frame3.!panedwindow.!panedwindow.!tabview.!designcontext.!designer.!checkbutton2"

from xml line
<tkinter.ttk.Checkbutton name="checkbutton2" attr:variable=".!frame3.!panedwindow.!panedwindow.!tabview.!designcontext.!designer.!checkbutton2" attr:text="checkbutton2" layout:width="112" layout:height="25" layout:x="99" layout:y="88" layout:bordermode="outside"/>

it fixes the issue and shows the UI with
app = AppBuilder(path="testlayout.xml")

so looks like attr:variable is invalid (without any warning)

Your environment
OS: Windows
formation-studio-0.7.0
Python version: Python 3.7.0

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions