Dear, 
    In a xul file, I use scrollbar in the following codes, but it seems that 
the scrollbar not work. I don't know how to bind the scrollbar with the 'vbox'.
     <hbox width='110'>
       <vbox width='100px' height='100px' max-height='100px'>
           <label value="testscrollbar1"/>
           <label value="testscrollbar2"/>
           <label value="testscrollbar3"/>
           <label value="testscrollbar4"/>
           <label value="testscrollbar5"/>
           <label value="testscrollbar4"/>
           <label value="testscrollbar5"/>
        </vbox>
       <scrollbar orient="vertical" curpos="5" maxpos="50" increment="5"/>
    </hbox>


     How can I get the effect of code like "<vbox width='100px' height='100px' 
max-height='100px'style="overflow-y:scroll">"? If you could give me some 
suggestions, I will quite appreciate.


    Thanks very much. 


Best regards, 
Huan Wang




_______________________________________________
dev-platform mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to