ImageButton not working?

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

asjt3
Just popping in
Just popping in
Posts: 10
Joined: Fri Jun 12, 2009 13:54

ImageButton not working?

Postby asjt3 » Thu Dec 23, 2010 18:46

Hey guys,

I'm having a hell of a time trying to integrate an imagebutton in my layout. I'm trying to create little arrow buttons, the same type that are used on scrollbars, and I'm using the built in scroll bar buttons from TaharezLook to do this.

Code: Select all

 <Window Type="TaharezLook/ImageButton" Name="Root/ShipControl/SpeedWindow/IncButton" >
          <Property Name='UnifiedAreaRect' Value='{{0.600,0.000000},{0.5,0.000000},{1.0,0.000000},{1.0,0.000000}}'/>
          <Property Name='AlwaysOnTop' Value='true'/>
          <Property name="NormalImage" value="set:TaharezLook image:MiniVertScrollDownNormal" />
          <Property name="HoverImage" value="set:TaharezLook image:MiniVertScrollDownHover" />
          <Property name="PushedImage" value="set:TaharezLook image:MiniVertScrollDownNormal" />
          <Property name="Visible" value="true"/>
        </Window>


for some reason, the button does not show up! Any ideas?

Much appreciated,

Alex

Return to “Help”

Who is online

Users browsing this forum: No registered users and 5 guests