Hi there,
I'm trying to build a floating wibox with a predefined width and
height with a single centered-align textbox within it. I tried all the
possible configurations, but I doesn't seem to work at all.. all I'm
getting is some "..." instead of the text.
This is the code I'm using (which works fine for align = "right", btw):

        caption = widget({ type="textbox", align="center", width=200,
ellipsize="middle" })
        caption.text = "Random text"

        caption_container = wibox({ position = "floating", screen = s })
        caption_container.widgets = { caption }
        caption_container:geometry({ width = 200, height = 20, y =
200, x = 200 })
        caption_container.screen = s

Is there something wrong in this code?
Also, the ellipsemode field doesn't work at all.. it always cuts in "end" mode.

Thanks for your help!

Stefano Verna
web: http://www.stefanoverna.com
gtalk: [email protected]
skype: steffoz

-- 
To unsubscribe, send mail to [email protected].

Reply via email to