[REBOL] Re: [text-list] text-list scroller colors.
From: carl:cybercraft at: 26-Mar-2005 14:21
On Saturday, 26-March-2005 at 10:33:43 Carl Read wrote,
>On Saturday, 26-March-2005 at 1:11:39 Anton Rolls wrote,
>>Good question. That is really not obvious.
>>In fact, I'm noticing behaviour as yet strange
>>to my eyes; before I see the changed color
>>I have to do the following three lines:
>>1) view layout [tl: text-list data first system/words]
>>2) tl/sld/dragger/color: blue show tl
>>3) view layout [tl: text-list data first system/words]
>That only changes the bar color, not the full scroller (including the arrows),
>which is easy to do with a normal scroller...
> view layout [scroller red blue]
>so why not with a text-list!
OK, finally worked out a way to do it...
view layout [
tl: text-list data first system/words
tl/sld/pane/2/effect/3: tl/sld/pane/3/effect/3: blue
tl/sld/pane/2/colors/1: tl/sld/pane/3/colors/1: yellow
tl/sld/pane/2/colors/2: tl/sld/pane/3/colors/2: blue
-- Carl Read.