[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-usability
Subject:    Re: gtk+ file selector mockups
From:       Mikolaj Machowski <mikmach () wp ! pl>
Date:       2004-01-08 1:20:26
Message-ID: 200401080150.09829.mikmach () wp ! pl
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic