Hi EREL,
I place this as a bug simply because I have tried everything I could think of to solve this issue, but not getting what I expected.
I have set my main form to be Transparent, using setStyle so that I still get the notification bar icon.
Then I created a second form, set as Utility, and set it's owner to be the Main form.
This second "child" form (MyForm) has 2 panels in it, both with rootpane as parent.
The first pane (FaderPane) has an alpha value of 0.4, and is anchored in both directions so that it covers the whole screen.
The second pane, with alpha set to 1, has a fixed size, smaller than the screen. This pane I called MainPane.
Now, my issue is, when I use MainPane.LoadLayout the loaded layout always covers the complete screen, and yet, the views are placed where I espectee them to be. My guess is the "main" view in the layout is being sized to the whole screen, thus I am loosing the FaderPane alpha effect around my fixed size MainPane. The layout I'm loading has a custom layout size and is set to resize with the parent. It also has a designer script in order to correctly place the views.
If I don't load a layout to MainPane, it shows it correctly places in the center of the screen with the correct size, and the FaderPane shows correctly too.
I can't provide a sample at this moment, but if needed, I will cook one later in the afternoon.
I place this as a bug simply because I have tried everything I could think of to solve this issue, but not getting what I expected.
I have set my main form to be Transparent, using setStyle so that I still get the notification bar icon.
Then I created a second form, set as Utility, and set it's owner to be the Main form.
This second "child" form (MyForm) has 2 panels in it, both with rootpane as parent.
The first pane (FaderPane) has an alpha value of 0.4, and is anchored in both directions so that it covers the whole screen.
The second pane, with alpha set to 1, has a fixed size, smaller than the screen. This pane I called MainPane.
Now, my issue is, when I use MainPane.LoadLayout the loaded layout always covers the complete screen, and yet, the views are placed where I espectee them to be. My guess is the "main" view in the layout is being sized to the whole screen, thus I am loosing the FaderPane alpha effect around my fixed size MainPane. The layout I'm loading has a custom layout size and is set to resize with the parent. It also has a designer script in order to correctly place the views.
If I don't load a layout to MainPane, it shows it correctly places in the center of the screen with the correct size, and the FaderPane shows correctly too.
I can't provide a sample at this moment, but if needed, I will cook one later in the afternoon.