Ian Haywood wrote:

It should be possible to scale the icon to fit, I need to study the docs some more.
Yep, wx.Image.Rescale (x, y) forces an image to be a certain size
So the code becomes:

img = wx.Image
('/home/richard/gnumed/gnumed/client/bitmaps/home_path3232.png',
wx.BITMAP_TYPE_ANY)
img.Rescale (32, 32)
bmp = wx.BitmapFromImage (img)
imagelist.Add (bmp)
self.nb.AssignImageList (imagelist)

Richard, can you try this.

Ian



Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Gnumed-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnumed-devel

Reply via email to