title: QPushButton text fit to button in Qt
body: <p>I am trying to make a QPushbutton that will increase in size to fit the text platform independently.
  The text can be very long and I need the button to size itself so that all the text can be visible.</p>
  
  <p>For example: I have a button with text "Restore defaults" , it is visible in win 7 . When i run this in mac os , only a part of the text ("tore defaults") is displayed. 
  Could anyone tell me how to solve this problem, to make all the text appear on the button.</p>