From gtk-devel Tue Nov 20 16:13:05 2007 From: Mathias Hasselmann Date: Tue, 20 Nov 2007 16:13:05 +0000 To: gtk-devel Subject: Re: Extended Layout Summary Message-Id: <1195575185.6938.46.camel () localhost> X-MARC-Message: https://marc.info/?l=gtk-devel&m=119557524600585 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============2043046725==" --===============2043046725== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-o3gfkp6gRvpPcohnsKaw" --=-o3gfkp6gRvpPcohnsKaw Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Am Dienstag, den 20.11.2007, 15:53 +0100 schrieb Vincent Untz: > Assume the natural width is 500px in the first case, 350px in the second > case and 200px in the third case. And the minimum width is 400px, 280px > and 150px. >=20 > In such a situation, it doesn't make much sense to allocate 250px to the > window list because it's between the natural size of the third case and > the minimum size of the second case. So it's better to only allocate > 200px. Ok, I see the problem. So maybe "natural-size" should be renamed to "preferred-size"? For supporting your feature there should be a separate call: void (*get_supported_sizes) (GtkOrientation orientation, GtkRequisition **sizes, guint *n_sizes); The sizes would be sorted regarding orientation -=20 but guess we should focus on merging what we got first. Ciao, Mathias --=20 Mathias Hasselmann http://taschenorakel.de/ --=-o3gfkp6gRvpPcohnsKaw Content-Type: application/pgp-signature; name=signature.asc Content-Description: Dies ist ein digital signierter Nachrichtenteil -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBHQweR73AS0G6kpDQRAsoMAKCEh3arrlnIRULEf/hv3KF+Gd6ugQCfWLk6 3nYweHvlVUx3fiFB/fZCv5I= =gkRJ -----END PGP SIGNATURE----- --=-o3gfkp6gRvpPcohnsKaw-- --===============2043046725== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list --===============2043046725==--