Change ScrollBar in V2 ComboBox

Friday, December 15th, 2006

Question: Is it possible to change ScrollBar width in V2 ComboBox? And ScrollBar’s Up and Down Arrows _height?

Till now I know only possibility to skinn all stuff, but I really can’t change them _width or _height. Sure I know, that size of scrollBar can be changed by calling scrollbar.setSize(10,40), but only for single instance of UIScrollBar. But if I want to change it for scrollbar which is in ComboBox, i can’t do it, because I can’t access its instance.

Is this possible? I need to know it as fast as possible because of deadline…

Question2: How can I set rowHeight to ComboBox List (when user clicks to comboBox and items are listed in List. I can change skin, but rowHeight() is function of List instance.

Thanks

AddThis Feed Button

This is some text prior to the author information. You can change this text from the admin section of WP-Gravatar  I'm living in Bratislava, Slovakia. I'm Senior Flex, AIR Developer for my own company Flexets. Read more from this author


tagged under:

ABOUT THIS AUTHOR

I'm living in Bratislava, Slovakia. I'm Senior Flex, AIR Developer for my own company Flexets.

Get a Trackback link

6 Comments


  1. maliboo
    Visit Site
    December 15th, 2006

    Ad1.
    ScrollBars in V2 components are PITA in skinning. Try to create subclass, that’s inherits from ScrollPane, and overwrite method for creating SBars, with custom method for skinning the SBar compo.

    Ad2.
    ComboBox::dropdown. Actually dropdown IS a List class instance. So you can call on it rowHeight, or set its cell/itemRenderer.


  2. Administrator
    Visit Site
    December 15th, 2006

    Ad2: sure it is instance, but you cant access it :) or I just dont know how…

    Ad1: I will try to look at it…


  3. Administrator
    Visit Site
    December 15th, 2006

    combobox.dropdown :)) I know :)


  4. maliboo
    Visit Site
    December 15th, 2006

    ScrollPane::vScroller, ScrollPane::hScroller

    Try to override (copy paste with modifications) ScrollView::setScrollProperties and skin your scrollbars in:
    hScroller = ScrollBar(createObject("HScrollBar", "hSB", 1001));


  5. David
    Visit Site
    October 3rd, 2008

    Hey did you sort it out… I really need a fix to make the combo box scroller wider

    Thanks

    David


  6. Franto
    Visit Site
    October 6th, 2008

    Hey David, not really, and I don’t need it anymore, but I can ask someone, if you still need it

Live Preview

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="">

This site is using OpenAvatar based on
Images is enhanced with WordPress Lightbox JS by Zeo
Clicky Web Analytics