-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
Python : 3.11.2
Vanilla : 0.3.1.dev10+g8303f24
pyobj : 9.0.1
With the following code :
import vanilla
from vanilla import*
class TEST:
def __init__(self):
self.w = Window((500,300))
items = []
for file in ["ABC Light", "ABC Regular", "ABC Bold"]:
d = dict(
checkBox=True,
textField=file,
)
items.append(d)
columnDescriptions = [
dict(
identifier="checkBox",
width=20,
cellClass=vanilla.CheckBoxList2Cell,
editable=True,
),
dict(
identifier="textField",
width=300,
editable=False
),
]
self.w.list = vanilla.List2((10,10,200,200),
items=items,
columnDescriptions=columnDescriptions,
showColumnTitles=False,
)
self.w.tab = Tabs((230, 10, 200, 100), ["Tab One", "Tab Two"])
self.w.open()
if __name__ == "__main__":
from vanilla.test.testTools import executeVanillaTest
executeVanillaTest(TEST)
This is what I got when it's run from Terminal :
Note that if I remove the textField column, it works as expected when run from the terminal.
I presume that is maybe again a problem with pyobj
?
Metadata
Metadata
Assignees
Labels
No labels