there is many ways. 1. using css 2. set flat it https://deptinfo-ensip.univ-poitiers.fr/ENS/pyside-docs/PySide/QtGui/QPushButton.html#PySide.QtGui.PySide.QtGui.QPushButton.setFlat
in maya 2016 it change any ui to flat style On Sun, May 24, 2015 at 6:28 PM, Jean Noval <[email protected]> wrote: > Hello, > > I would like to make a lots of squared QPushButton in a gridLayout. > But when the widget resize I want them to keep their squared shape. (So I > cant use button.setFixedSize()) > > > Also how to change a button's style ? By default they got a rounded Edge, > I want a squared one. > > > Thanks in advance ! > > -- > You received this message because you are subscribed to the Google Groups > "Python Programming for Autodesk Maya" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/python_inside_maya/4b79f971-18c5-4074-b3c0-3c56c0897417%40googlegroups.com > <https://groups.google.com/d/msgid/python_inside_maya/4b79f971-18c5-4074-b3c0-3c56c0897417%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Bests, madoodia -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CADvbQwJ6inayheNL-bQCLOdeot6dqcmW8SikTKkS-G%2BX67xfug%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
