[Qt-interest] QPushbutton size on various platform

Sean Harmer sean.harmer at maps-technology.com
Fri Sep 18 17:56:04 CEST 2009


On Friday 18 Sep 2009 16:47:02 Francesco Lamonica wrote:
> Hi Sean, i just mean the button text :)
>
> if i set the text to, say, "click-on-me-button" on mac i get displayed
> "ck-on-me-but" since there is no more room as if the font was
> occupying too much space nad the button geometry was too little (i
> dont have access to a mac to get a sshot right now)
I think you just need to put your button(s) into a layout. This will query the 
buttons for their sizeHint()'s and resize them accordingly.

Do you have a designer .ui file for your widget that you can post?

Sean



More information about the Qt-interest-old mailing list