Closed Tumetsu closed 10 years ago
Sorry for the late reply... didnt get an email about this... Ill check this out tomorrow and get back to you.
Sorry again for the delay, been out of the loop for a while.
Cheers, Ian
Hi,
Ive just submitted a fix that affected the style cache that it think will fix this. The version is 1.5.7 in haxelib... can you let me know if it fixes it for you?
Cheers, Ian
As for you second question, the component you are looking for is called "container". So this works in the builder:
<?xml version="1.0" encoding="utf-8" ?>
<listview id="theList" width="300" height="100%">
<style>
#theList #container {
backgroundColor: #FF0000;
}
</style>
<array>
Item 1,
Item 2,
Item 3,
Item 4,
Item 5
</array>
</listview>
This is another failure of good documentation i feel... Something i will (will!) get sorted once im done with my bug hunt!
Cheers, Ian
Ok, i think this should be fixed in version 1.5.11, i think it was related to #161
Im going to close this issue as i cant reproduce it. Im pretty sure its been fixes by various problems with the style cache. Feel free to re-open if im mistaken.
Cheers, Ian
I'm trying to customize listview. Based on gradient theme's css I created this css file:
However, only the .odd is recognized and all listitems are stylized in that way, even the even ones. If I swap the order of .odd and .even definitions, the .even defines all the listitems. In short only the latter one remains in effect. Why?
And while we are it, how I define the color of the background of the ListView which shows up if the list has fewer items than there fits? I can only get the default gray to show up and couldn't define the color via css.