Hello, Mohan Sundaram, 25/04/2014 17:07 you wrote:
> Using Awesome 3.5.2 on Ubuntu 14.04.
>
> a) The API document seems to describe older API format where widget
> name is passed as an argument. Is there a place where the new format
> is described?
>
> b) Trying to use the progressbar widget as under
>
> barwidget=awful.widget.progressbar()
> barwidget:set_vertical(false)
> barwidget:set_width(40)
> barwidget:set_height(8)
> barwidget:set_border_color("#00ff00")
> barwidget:set_background_color("#000000")
> barwidget:set_color("#00ff00")
> barwidget:set_value(0.5)
>
> Added widget in the wibox
> right_layout:add(barwidget)
>
> I'm getting a progressbar box covering the full height of the systray
> wibox. Changing the height has no effect. Changing all othe
> rparameters using Mod+x to run lua code works as documented.
>
> Where am I making the mistake? Or is this a bug?
Have you tried wibox.layout.constraint?
>
> -- Mohan Sundaram
>
--
To unsubscribe, send mail to [email protected].