wx vs qt button image size

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

wx vs qt button image size

Brennan Williams
Anyone know if it's possible to control the size of an image in a Traits
Button under pyside/qt?

I have a 100x100 pixel image (png) which displays correctly under wx
(i.e. 100x100) but gets resized to 16x16 under pyside/qt

I create the button using...

     openexistingprojectwizardbutton= Button(
         "Open an existing project",orientation='vertical',
         width_padding=0,height_padding=0,
         image = ImageResource(
"images/project100100.png",search_path=[IMAGE_LOCATION]))

and include it in a view using....

Item('openexistingprojectwizardbutton',style='custom',width=380,height=150,show_label=False),

Regards

Brennan

_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev