Tried this. -- Create a progress bar widget barwidget = awful.widget.progressbar() barwidget:set_color("#00ff00") barwidget:set_background_color("#000000") barwidget:set_border_color("#00ff00") barwidget:set_vertical(false) barwidget:set_width(40) barwidget:set_height(12) barwidget:set_value(0.5)
const = wibox.layout.constraint() const:set_strategy("exact") const:set_height(8) const:set_width(40) const:set_widget(barwidget) No change in progressbar height for barwidget. -- Mohan Sundaram On Sat, Apr 26, 2014 at 2:02 AM, floodway <flood...@gmail.com> wrote: > 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 awesome-unsubscr...@naquadah.org. -- To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.