XUL: fit all elements vertically in prefpane
Posted
by Michael
on Stack Overflow
See other posts from Stack Overflow
or by Michael
Published on 2010-05-03T11:55:26Z
Indexed on
2010/05/03
11:58 UTC
Read the original article
Hit count: 287
here goes the XUL part of one of the preference panes.
<prefpane id="alt-about" label="About" image="chrome://alt/skin/about.png">
<hbox>
<vbox>
<image id="armliveticker-about-logo" />
</vbox>
<vbox>
<description id="addonName">Bla bla bla, bla bla</description>
<description id="version"/>
<description>Author: bla bla bla</description>
<description>ICQ: bla</description>
<description>E-mail: [email protected]</description>
<description>Website: www.bla-bla.com</description>
<separator class="groove" flex="1"/>
<description>News feed powered by Bla agency</description>
<description>Exchange Rates are powered
by Blaaaa Blaa of Blabla</description>
</vbox>
</hbox>
</prefpane>
and for some reason the window is not being vertically resized to fit last description
element
I tried many attributes, many combinations of vbox/hbox.. same. How to solve it guys?
© Stack Overflow or respective owner