You are not logged in.

#1 2013-01-17 21:35:24

aclemente
Member
Registered: 2012-11-12
Posts: 4

Centering widgets with Awesome 3.5

Hi !  I've been refactoring my whole rc.lua file since awesome 3.5 appeared. I would like to center a wibox.widget.imagebox  which contains a small image.

Right now if I add it using: right_layout:add(cpuicon) this is ok it appears but not centered.

I think I need this : wibox.layout.align.vertical()   and then centering with set_middle , but I tried all the combinations and I don't get it correctly...

How can i do that ? Any idea ? 


Thanks !

Offline

Board footer

Powered by FluxBB