I tried that but it will not correctly align the tag name to the left and the 
number of posts to the right.  (as if it were in two different text fields 
within an HBox)  I calculated the number of characters to account for, then 
subtracted the number of characters the tagname contained to get the number of 
spaces to add.  But with letters being of different width, it just didn't work 
out.

--- In [email protected], Fotis Chatzinikos <fotis.chatzini...@...> 
wrote:
>
> Why do not you simply create the needed label (tagname + possible space
> chars + numberOfPosts)?
> 
> 
> On Mon, Sep 21, 2009 at 6:47 PM, powers <vic.pow...@...> wrote:
> 
> >
> >
> >
> > I'm trying to create a tag list that will display the name of the tag and
> > the
> > number of posts associated with that tag. I want to use the ToggleButtonBar
> > so the user can choose only one tag at a time.
> >
> > The problem is that it will only accept one label. I need two, name of the
> > tag to the left and the post count to the right.
> >
> > I'm assuming that I will have to extend both, Button and Toggle ButtonBar.
> > Can someone point me in the right direction?
> > --
> > View this message in context:
> > http://www.nabble.com/Extending-ToggleButtonBar-to-Allow-for-Multiple-Labels-on-A-Button-tp25530380p25530380.html
> > Sent from the FlexCoders mailing list archive at Nabble.com.
> >
> >  
> >
> 
> 
> 
> -- 
> Fotis Chatzinikos, Ph.D.
> Founder,
> Phinnovation
> fotis.chatzini...@...,
>


Reply via email to