<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
What you are proposing is to set the size of the treeview but the thing is that I would like the treeview to resize with the window and the columns to mantain the visual distribution (horizontally).<BR><BR>What I want is similiar to the html tag "td" in "table". If you put 80% on its width, the column will shrink or grow to maintain the proportion when the window is resized.<BR><BR>Is there any way to do this or I will have to process the signal when the treeview gets resized and then change the width of the column??<BR><BR><HR id="stopSpelling">Date: Tue, 10 Mar 2009 13:36:08 -0500<BR>Subject: Re: [pygtk] Proportional column sizes in a TreeView<BR>From: aleksandr.goretoy@gmail.com<BR>To: joaquinsargiotto_2@hotmail.com<BR>CC: pygtk@daa.com.au<BR><BR>use set_size_request() on treeview to prevent it from resizing when window does.....I haven't tested it, but it should work<BR><BR clear="all">-Alex Goretoy<BR><A href="http://www.goretoy.com">http://www.goretoy.com</A><BR>
<BR>
<BR><BR><DIV class="EC_gmail_quote">On Sun, Mar 8, 2009 at 2:57 PM, Joaquin Sargiotto <SPAN dir="ltr">&lt;<A href="mailto:joaquinsargiotto_2@hotmail.com">joaquinsargiotto_2@hotmail.com</A>&gt;</SPAN> wrote:<BR><BLOCKQUOTE class="EC_gmail_quote" style="padding-left:1ex">




<DIV>
Hi everyone! I was wondering... is there any way to make the width of the columns proportional to the size of the TreeView. (e.g. 1st col=80%, 2nd col=5%, 3rd=15%)??<BR>The situation is this: I have a TreeView with 2 columns each have its own CellRenderer (I made them). When the window is resized so is the TreeView on it, but the first column maintains the same width and the second column fills the new space if the window is bigger or get smaller if the window is smaller too. What I want is make the columns to keep the same aspect no matter what size the window is (I'm not worried about getting the columns too small because I've set the minimun size for the window).<BR>
I am sorry if the question is too noob, but I can't find the answer into the reference doc.<BR>Thanks!<BR><BR><HR>El nuevo Messenger es más personalizable que nunca <A href="http://www.nuevomessenger2009.com/">ˇConocelo y conseguí el tuyo!</A></DIV>

<BR>_______________________________________________<BR>
pygtk mailing list   <A href="mailto:pygtk@daa.com.au">pygtk@daa.com.au</A><BR>
<A href="http://www.daa.com.au/mailman/listinfo/pygtk">http://www.daa.com.au/mailman/listinfo/pygtk</A><BR>
Read the PyGTK FAQ: <A href="http://faq.pygtk.org/">http://faq.pygtk.org/</A><BR></BLOCKQUOTE></DIV><BR><br /><hr />El nuevo Messenger es más personalizable que nunca <a href='http://www.nuevomessenger2009.com/' target='_new'>ˇConocelo y conseguí el tuyo!</a></body>
</html>