You can always make an image with an empty border around to avoid scaling. This was the only solution I found.
On Tue, Oct 27, 2009 at 12:27 AM, Dominik Bruhn <[email protected]> wrote: > Hy, > how do you set the height of a imagebox? The icons always gets streched > to full height of my bar and I want it only at 1:1 height. I tried: > mybat_icon = widget({ type = "imagebox"}) > mybat_icon.image = image("icons/battery.png") > > mybat_icon.height = 6 --Does nothing > mymail_icon:set_height(6) --error > awful.widget.graph.set_height(mymail_icon, 6) --error > > So how can I do this? > > Thanks! > -- > Dominik Bruhn > mailto: [email protected] > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.10 (GNU/Linux) > > iEYEARECAAYFAkrmFC8ACgkQL62MPsbzkm0AZgCeLWtykisQD4rAmmxgFbB/sp5T > VxIAmwXsHrMJUH6p5uNqRWcYT4vAL/pn > =2is6 > -----END PGP SIGNATURE----- > >
