Hi all,
Let me just start by praising the new GUI system. The way that it works and very easy lets us setup the layout of a window is amazing, saving both alot of time and lines of code!
I am coding a new window in the Extended version, and as far as I understand, all the GUI features are fully ported over, so that it should be 1:1 with the Standard version.
With this new window (I had it originally coded with the old GUI, but I am rebuilding it from the bottom up) things have mostly been running on rails, apart from one feature, which I consider is essential to how my window is supposed to work:
I want a combobox and a textinput to be located at the same position, one hiding while the other is displayed (which is determined by another combobox).
However, there are no way at all that I can get them to display and hide properly.
What happens is that the object which is hidden at the initial opening of the window will not display properly when called for. I have tried to use the .set_visible(), I have tried to .remove_all() and then .add_component() the correct component. I can get either to show up at the same location (it happens automatically, because I let the two objects share its own aligned container, which I have in turn add_component()-ed in its correct place), but the faulty one will show up as an all mangled version.
The combobox have all buttons on top of each other, and if I code it in reverse, so that it is the textinput that is the nondefault, it shows up only as a small tiny dot.
If I, as an experiment, turns on and off another combobox, it behaves similarly, only it also have lost its position info.
If I try it with a regular checkbox button (square_state), it keeps its text and appearence, but it looses its position data (ie drawn as the first object in the table, behind existing objects), and also its length of the text going next to the button was dotted at the end like: "reverse_sor..." instead of "reverse_sort_order" as it should have been.
So either I have made some grave mistakes in my definitions, or there is a bug in the new GUI system, where an object cannot be initiated as hidden.
Can you guys help me with this?