I'm using Falagard from CVS Head (it's awesome), but I've ran into some problems:
- I made a horizontal version of the TL Slider, but it works backwards (thumb to the right = 0, thumb to the left = 1).
- I made a combobox, but its right-side button doesn't update when Pushed (even though it's got StateImagery for Pushed).
How do I fix these?
Falagard with Slider and Combobox
Moderators: CEGUI MVP, CEGUI Team
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: Falagard with Slider and Combobox
Hi,
The slider issue is a bug, so thanks for reporting that This should get fixed within 24 hrs.
For the Combobox issue, are you talking about the button or something else? You may need to post the XML.
The slider issue is a bug, so thanks for reporting that This should get fixed within 24 hrs.
For the Combobox issue, are you talking about the button or something else? You may need to post the XML.
Useful Links: Forum Guidelines | Documentation | Tutorials | HOWTO | Videos | Donate to CEGUI | CEGUI Twitter
Re: Falagard with Slider and Combobox
I'm talking about the button with the Down arrow on the combobox. This is my XML for it:For the Combobox issue, are you talking about the button or something else? You may need to post the XML.
Code: Select all
<WidgetLook name="XenoLook/Button/Down">
<ImagerySection name="down_off">
<ImageryComponent>
<Area>
<Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
<Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
<Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
<Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
</Area>
<Image imageset="XenoLook/Button" image="DownArrow/On" />
<VertFormat type="CentreAligned" />
<HorzFormat type="RightAligned" />
</ImageryComponent>
</ImagerySection>
<ImagerySection name="down_on">
<ImageryComponent>
<Area>
<Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
<Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
<Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
<Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
</Area>
<Image imageset="XenoLook/Button" image="DownArrow/Off" />
<VertFormat type="CentreAligned" />
<HorzFormat type="RightAligned" />
</ImageryComponent>
</ImagerySection>
<StateImagery name="Normal">
<Layer>
<Section look="XenoLook/ButtonShared" section="left hard" />
<Section look="XenoLook/ButtonShared" section="main area" />
<Section look="XenoLook/ButtonShared" section="right round/hard" />
</Layer>
<Layer priority="1">
<Section look="XenoLook/ButtonShared" section="bar right" />
<Section section="down_off" />
</Layer>
</StateImagery>
<StateImagery name="Pushed">
<Layer>
<Section look="XenoLook/ButtonShared" section="left hard" />
<Section look="XenoLook/ButtonShared" section="main area" />
<Section look="XenoLook/ButtonShared" section="right round/hard" />
</Layer>
<Layer priority="1">
<Section look="XenoLook/ButtonShared" section="bar right" />
<Section section="down_on" />
</Layer>
<Layer priority="2">
<Section look="XenoLook/ButtonShared" section="glow right" />
</Layer>
</StateImagery>
</WidgetLook>
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: Falagard with Slider and Combobox
Hi,
It turns out that this is the way the system works at the moment - the button for a combobox never gets drawn in the pushed state (not a bug as such, but just a result of the way the internals for Combobox are wired).
I'll have a look and see if it's possible to easily rectify this, though make no promises at this time.
At least you know it's not your XML at fault
It turns out that this is the way the system works at the moment - the button for a combobox never gets drawn in the pushed state (not a bug as such, but just a result of the way the internals for Combobox are wired).
I'll have a look and see if it's possible to easily rectify this, though make no promises at this time.
At least you know it's not your XML at fault
Useful Links: Forum Guidelines | Documentation | Tutorials | HOWTO | Videos | Donate to CEGUI | CEGUI Twitter
Re: Falagard with Slider and Combobox
Hi,
I ran into exactly the same issue with the combobox (pushed state never gets drawn). Is there any progress or does anyone have a workaround for this issue? The expected behavior to me would be that the button displays the pushed imagery during the click event and as long as the droplist is visible. Some time ago a looked into this issue and found the reason for this is that the combobox image button never actually gets its internal state set to pushed.
Any help or suggestions on this would be appreciated!
I ran into exactly the same issue with the combobox (pushed state never gets drawn). Is there any progress or does anyone have a workaround for this issue? The expected behavior to me would be that the button displays the pushed imagery during the click event and as long as the droplist is visible. Some time ago a looked into this issue and found the reason for this is that the combobox image button never actually gets its internal state set to pushed.
Any help or suggestions on this would be appreciated!
Re: Falagard with Slider and Combobox
It this behaviour is still present in 0.7.x it might be worthwhile to open a bug ticket in the tracker. I understand that is the fastest way to get the team to get on a problem.
Re: Falagard with Slider and Combobox
OK, thanks! Opened a new ticked: http://www.cegui.org.uk/mantis/view.php?id=522
Return to “Modifications / Integrations / Customisations”
Who is online
Users browsing this forum: No registered users and 7 guests