TabControl usage in CVS head has changed?

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

shalinor
Just popping in
Just popping in
Posts: 11
Joined: Fri Apr 14, 2006 23:57

TabControl usage in CVS head has changed?

Postby shalinor » Thu Apr 27, 2006 19:14

It seems the use of this class has changed in CVS head, and I'm something at a loss for how to leverage it now?

Before, simply throwing DefaultWindows under the TabControl was enough to create buttons to switch between the windows, now, it seems to ignore all of those defaultWindows but the first one (and create buttons for none of them).


I see in the documentation for the Falagard TabControl that it wants a TabPane-based window now, so I tried changing one of my default windows to a TabPane in the hopes it might show, but nope. I also tried adding the suffix it seemed to want me to add to the window name, but still no dice.

How do I get tab controls working again?

shalinor
Just popping in
Just popping in
Posts: 11
Joined: Fri Apr 14, 2006 23:57

Postby shalinor » Thu Apr 27, 2006 21:46

Found the problem. TabHeight became a UDim, instead of a constant value. That is, where in old code I had this:

<Property Name="TabHeight" Value="0.1" />

With the new CEGUI, it had to be this:

<Property Name="TabHeight" Value="{0.1, 0.0}" />

Simple enough, just undocumented, alas :(


Return to “Help”

Who is online

Users browsing this forum: No registered users and 25 guests