How can I get scrollbar in a richlistbox element?

Discuss building things with or for the Mozilla Platform.
Post Reply
ericchan1336
Posts: 9
Joined: July 8th, 2014, 7:46 pm

How can I get scrollbar in a richlistbox element?

Post by ericchan1336 »

Hi all, I've got a problem that I want set the scrollbar of a richlistbox elmenet to hide or show dynamically, but it seems that I can't get the scrollbar element directly, only the richlistbox itself, or the scrollbox inside the richlistbox. Can anyone please tell me how to get the scrollbar element please? Suppose I've already got the scrollbox element. Thanks.
These scrollbox and scrollbar are generated by the richlistbox internally, the scrollbar has no id, no class attribute, nothing.
Last edited by ericchan1336 on August 27th, 2014, 8:48 pm, edited 1 time in total.
User avatar
LoudNoise
New Member
Posts: 39900
Joined: October 18th, 2007, 1:45 pm
Location: Next door to the west

Re: How can I get scrollbar in a richlistbox element?

Post by LoudNoise »

Are you compiling a version of Firefox or are you trying to make an extension?
Post wrangler
"Choose between the Food Select Feature or other Functions. If no food or function is chosen, Toast is the default."
ericchan1336
Posts: 9
Joined: July 8th, 2014, 7:46 pm

Re: How can I get scrollbar in a richlistbox element?

Post by ericchan1336 »

Acually I'm trying to compiling Thunderbird. But I think this is a general xul question, so I posted it here.
User avatar
patrickjdempsey
Posts: 23686
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC
Contact:

Re: How can I get scrollbar in a richlistbox element?

Post by patrickjdempsey »

Scroll bars on richlists should be dynamic by default.
Tip of the day: If it has "toolbar" in the name, it's crap.
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/
Post Reply