Re: [PyQt] Text and Image Alignment

2011-08-17 Thread uahmed
Hi Thanks Nick ,It works for me . On Wed, Aug 17, 2011 at 3:02 PM, Nick Gaens wrote: > Try this method: > http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qtoolbutton.html#setToolButtonStyle > with one of these values: > http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qt.ht

Re: [PyQt] Text and Image Alignment

2011-08-17 Thread Nick Gaens
Try this method: http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qtoolbutton.html#setToolButtonStyle with one of these values: http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qt.html#ToolButtonStyle-enum . E.g.: yourButton = QtGui.QToolButton() yourButton.setToolButtonStyle(

Re: [PyQt] Text and Image Alignment

2011-08-16 Thread uahmed
Hi Thank you for the reply i search for it http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qtoolbutton.html but unfortunately i didnt get any of such method . On Wed, Aug 17, 2011 at 3:28 AM, Josh Stratton wrote: > QToolbarButton has a value for putting text underneath, which may be

Re: [PyQt] Text and Image Alignment

2011-08-16 Thread Josh Stratton
QToolbarButton has a value for putting text underneath, which may be more what you want. On Tue, Aug 16, 2011 at 3:20 PM, uahmed wrote: > HI > > I want to do alignment inĀ  image and text , i want that image should be on > center top and text should be at the bottom of image . I search for it but