Hello,
Not sure if this is a bug or not..
I am using the designer to create a little layout and I am using a panel in it.
If I set the panel's Visible state to True its shown and when its set to False it's hidden when I run the script (no code in the script at this stage)
So far so good..
If I now add a label inside this panel and set it's parent to be the panel and I set the panel's Visible state to False and now run the script the panel is hidden but the label is still shown.
Isn't it meant to hide the label as well as the panel ?
If I load the layout in my Activity ( Activity.LoadLayout("Layout1") ) it doesn't show the labels as the panel is set to false.
So in other words it works like it's meant to when you run the app when calling the layout in the activity but when running it in script mode in the designer it's not hiding the items that where placed in the panel when that panel's visible state is set to False (I am connected to the designer on my phone while running the designer script)
Not sure if this is a bug or not..
I am using the designer to create a little layout and I am using a panel in it.
If I set the panel's Visible state to True its shown and when its set to False it's hidden when I run the script (no code in the script at this stage)
So far so good..
If I now add a label inside this panel and set it's parent to be the panel and I set the panel's Visible state to False and now run the script the panel is hidden but the label is still shown.
Isn't it meant to hide the label as well as the panel ?
If I load the layout in my Activity ( Activity.LoadLayout("Layout1") ) it doesn't show the labels as the panel is set to false.
So in other words it works like it's meant to when you run the app when calling the layout in the activity but when running it in script mode in the designer it's not hiding the items that where placed in the panel when that panel's visible state is set to False (I am connected to the designer on my phone while running the designer script)