[PyQt] Toolbar icon text clipping in pyqt4

Nicholas Earl nchlsearl at gmail.com
Tue Jun 21 16:05:24 BST 2016

Anyone have any idea about this one?

Nicholas Earl

On Fri, Jun 17, 2016 at 6:12 PM, Nicholas Earl <nchlsearl at gmail.com> wrote:

> Hey there,
> I'm developing an application on Mac. I am keeping it compatible with both
> PyQt4 and PyQt5, however, I've noticed that when I run the application
> using PyQt4 my toolbar's icon text is getting clipped. The clipping varies,
> sometimes from the bottom and sometimes the icon covers the text.
> When I view the application in PyQt5, it looks perfect. I'm simply
> creating a toolbar via "addToolBar", creating actions using QAction, and
> adding actions to the toolbar with "addAction".
> An example: http://pasteboard.co/1Lbf7Xcq.png
> Thanks for any help,
> Nicholas Earl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20160621/8b51ea57/attachment.html>

More information about the PyQt mailing list