Button component width

Aurélien Gâteau agateau at kde.org
Thu Oct 4 12:20:18 UTC 2012


Le jeudi 4 octobre 2012 13:06:15 Marco Martin a écrit :

> > Command Buttons in Windows:
> > http://msdn.microsoft.com/en-us/library/windows/desktop/aa511453.aspx#gene
> > r
> > al
> > 
> > OS X, no explicit mention of size but look at the button screenshots in
> > the
> > "Push Button" section:
> > https://developer.apple.com/library/mac/documentation/UserExperience/Conce
> > p
> > tual/AppleHIGuidelines/Controls/Controls.html#//apple_ref/doc/uid/TP300003
> > 5
> > 9- TP6
> 
> interesting.
> on this matter btw i noticed that on Qt it's qstyle dependent, and the only
> style i found so far that doesn't have a fixed default size is oxygen.

Oh, I didn't know about that. Indeed, most styles get their minimum 
QPushButton width from QWindowsStyle.

> is btw something that i would like to see fixed, that if doesn't break the
> behaviour of too many applications (that is becoming a reason why doing any
> change in the oxygen qstyle has become extremely difficult)

I think it can be changed: After all, if it breaks an application then that 
application was already broken when using other styles.

Aurélien


More information about the Plasma-devel mailing list