Re: HowTo questions

Gerald Bauer <[email protected]>
Newsgroups gmane.comp.java.luxor-xul.user
Message-ID <[email protected]>
> 1)  Caption alignment
>      I have a caption in a Groupbox. It is always
> left
> justified and nothing in the style or attributes
> seems
> to have any effect on this. How do I get it
> centered.

It's not yet supported. You might wantto add the
missing code yourself using CSS properties, for
example.
 

> 2)  Center an image
>      I have a groupbox in which a number of items
> are
> laid out vertically, one of which is an image but it
> is not the widest element. It is always left
> justified. Even putting it inside an hbox surrounded
> by spacers will not move it from the left edge.
>      What trick am I missing?

I guess you're not missing any because it's not yet
supported. Again you're more than welcome to add the
the missing code yourself.
 
> 3)  Multiline labels
>      I appear to have done something because the
> label
> takes up varying space. But there is no text visible
> in the featureless label pane.
>      What do I need to do to actually see a
> multiline
> label? What is needed to have it understand html
> tags?

For use of multiline labels you need to use (x)html
tags inside the label's content instead of a value
attribute. Example:

<label>
  <html> 
    First para<br/>
    Second para
  </html>
</label>

This should work properly.

> 4)  Tabpanel orientation
>      I have a nice set of tabs across the top of a
> tabpanel viewing area. But I want the tabs across
> the
> bottom. I reordered the tabpanels and tabs blocks
> and
> looked for alignment attributes, but so far nothing
> seems to work or lead to a solution.

It's not yet supported. 
 
> 5)  Menuitem links
>      I have a menubar with a dropdown list of
> menuitems.
> I would like to have the menuitem action link to or
> cause the same effect as clicking on one of the tabs
> in the tabpanel. How can this be done?

I'm not sure what you mean. You can use the command
attribute to execute actions whenever the user clicks
on the menuitem and the href attribute to show web
documents.




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.