Page 1 of 1
Falagard with Slider and Combobox
Posted: Wed Aug 24, 2005 16:12
by SupSuper
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?
Re: Falagard with Slider and Combobox
Posted: Thu Aug 25, 2005 08:27
by CrazyEddie
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.
Re: Falagard with Slider and Combobox
Posted: Thu Aug 25, 2005 17:18
by SupSuper
For the Combobox issue, are you talking about the button or something else? You may need to post the XML.
I'm talking about the button with the Down arrow on the combobox. This is my XML for it:
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>
Re: Falagard with Slider and Combobox
Posted: Fri Aug 26, 2005 09:10
by CrazyEddie
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
Re: Falagard with Slider and Combobox
Posted: Wed Jul 20, 2011 11:47
by oli
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!
Re: Falagard with Slider and Combobox
Posted: Wed Jul 20, 2011 18:27
by Mikademus
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
Posted: Thu Jul 21, 2011 13:07
by oli