I seem to have found a way to do this, I'll post it here incase anyone
should have a similar issue.

Instead of using markup for the background I used:
http://awesome.naquadah.org/doc/api/modules/wibox.widget.background.html

Which I didn't know existed.


On Mon, Mar 4, 2013 at 7:34 PM, Sean Goodwin <[email protected]>wrote:

> Hello,
>
> I'm currently running into a problem where text in a widget is not being
> aligned to the center of the wibox. Here is a picture:
>
> http://i.imgur.com/ORoUUYj.png
>
> As you can see the VOL widget text is lower than the SYS widget text. The
> problem seems to be occurring because I'm assigning two fonts to the
> textbox (I need to do this so the background color fills the entire area)
> like so:
>
> volume = '<span background="#75434c" font="Droid Sans Mono 12"> <span
> color="#c8dfdf" font="Profont 8"> VOL:' .. volume
>
> Obviously I close the spans later.
>
> Anyone have any suggestions?
>

Reply via email to