Some views does not work inside a Layout #240
Labels
bug
Issues that relate to unexpected/unwanted behavior. Don't use for PRs.
comp: Qt GUI
sclang Qt components -- for IDE tickets, use "env: SCIDE" instead
Milestone
[Issue migrated from SourceForge | ID: 3478960 | Submitted by 'lijon']
[http://sourceforge.net/support/tracker.php?aid=3478960]
Example:
( // does not work, with or without fixedSize
Window("TreeView").front.layout = HLayout (
TreeView() //.fixedSize_(Size(100,100))
.columns_(["X","Y"])
.addItem(["Test","1"])
.addChild(["Hello","2"])
)
)
( // works here
TreeView(Window("TreeView",Rect(0,0,300,300)).front,Rect(0,0,300,300))
.columns_(["X","Y"])
.addItem(["Test","1"])
.addChild(["Hello","2"])
)
And in some situations one has to set minSize or fixedSize.
The text was updated successfully, but these errors were encountered: