Delivered-To: lablgtk at yquem.inria.fr DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=YEB27pRfp9QK2ubmmVEOdb+dacIf46qeiVhfJG3LLV4=; b=cIvhg8OgLeGFDATraQjePw39ZfSrgihxP8vVxTCbOTo2ilUrwyhy0oSorDEj6QQxhOM22okyZJa9WY4YJTLiyaxd5WlHaiG6vlqErql0Zp1kSGgHHsQCDCTJ4HMdpjI7aXTpU9wA1wvOqrFL4O9RRHtCqW6+XvR3yJhdnlFLIs4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=T5bXB6m3ILHSndFFaEyoFA2L9LAymYvVAMkIj7gBps2tAgt0XxX+RNuAN7t9Ys26mC3NCPs0sFWwTVSX2YwDUTbqWB0FNOMuczhtiMBUm867JtKQut3sjEkswetFtyHEDSNmCPbxKS5gkEIQlzFBWJdbC6nQxYj1w0FsqAExwmQ= Message-ID: <666572260802060713v388613d1teadb3d270d0041ec at mail.gmail.com> Date: Wed, 6 Feb 2008 16:13:48 +0100 From: Adrien To: "Julien Moutinho" , lablgtk at yquem.inria.fr Subject: Re: [Lablgtk] List view : no scroll bar and maximum length ? In-Reply-To: <666572260802050132h2f65356av9ee86bd701fcd1df at mail.gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <666572260802041301p2bd86a20v9672abf9fa675de8 at mail.gmail.com> <20080204220421.GA28520@localhost> <666572260802050132h2f65356av9ee86bd701fcd1df@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Length: 909 I spoke about the list view being too short. Basically I would only see two lines at once. I found the solution but as it took me some time (I was searching for something else), thought hopefully not that much, I thought I could post it as well. It is correctly documented but iirc it is not introduced in the tutorial. When using some_box#pack, you have to use ~expand:true method pack : ?from:Gtk.Tags.pack_type -> ?expand:bool -> ?fill:bool -> ?padding:int -> GObj.widget -> unit from : default value is `START expand : default vaue is false fill : default value is true, ignored if expand is false (from Class GPack.box_skel which many things of GPack inherit from) This way the list uses as much space as possible. --- Adrien Nader _______________________________________________ Lablgtk mailing list Lablgtk@yquem.inria.fr http://yquem.inria.fr/cgi-bin/mailman/listinfo/lablgtk