From kde-usability Thu Jan 08 01:20:26 2004 From: Mikolaj Machowski Date: Thu, 08 Jan 2004 01:20:26 +0000 To: kde-usability Subject: Re: gtk+ file selector mockups Message-Id: <200401080150.09829.mikmach () wp ! pl> X-MARC-Message: https://marc.info/?l=kde-usability&m=107353125719333 Dnia Wednesday 07 of January 2004 23:36, Aaron Seigo napisaƂ: > > That was not that hard: > > > > http://skawina.eu.org/mikolaj/bigsmallicons.png > > looks nice =) > > > And patches attached. > > > > m. > > - - wmin = QListBoxPixmap::width( lb ); > - - hmin = QListBoxPixmap::height( lb ); > + wmin = QListBoxPixmap::width( lb ) + 8; > + hmin = QListBoxPixmap::height( lb ) + 8; > > instead of 8 hardcoded, it should be KDialog::spacingHint() ... Tried it but: Looks like default setting is 0 which makes border of item can be at border of image which can looks ugly. See http://skawina.eu.org/mikolaj/bigsmallicons2.png Note: top of the house and 'y' in 'directory' are touching edges and this is Ugly(tm) BTW, after 'else' is '+ 6' thus I copied existing solution. m. _______________________________________________ kde-usability mailing list kde-usability@mail.kde.org https://mail.kde.org/mailman/listinfo/kde-usability