HELP! Instance of Rectangle inside ContainerControl not shown in Linux App


I’m facing a problem with the display of a simple rectangle declared as a ControSet inside a Container Control

The rectangle is set to visible = false from the Inspector, then I have an Open event in ContainerControl1 with the following code

var a as new Rectangle1
a.visible = true

The rectangle is displayed correctly on Mac but instead it’s not displayed when I run the app on Linux Desktop

Any idea about how to solve this issue?

My workaround was to forget the ControlSet and instead make a class with the required controls (rectangle in your case). Then declare a new instance of the class and embed it within the container control. This works.

1 Like