Am Fri, 23 Nov 2012 08:42:58 +0900 schrieb Carsten Haitzler (The
Rasterman):

> On Thu, 22 Nov 2012 23:07:28 +0100 Andreas Volz <li...@brachttal.net>
> said:
> 
> > Am Thu, 22 Nov 2012 09:46:38 +0900 schrieb Carsten Haitzler (The
> > Rasterman):
> > 
> > > On Wed, 21 Nov 2012 23:32:00 +0100 Andreas Volz
> > > <li...@brachttal.net> said:
> > > 
> > > > Am Tue, 20 Nov 2012 23:15:25 +0100 schrieb Andreas Volz:
> > > > 
> > > > > Hi,
> > > > > 
> > > > > I just created a small GUI window based in Elementaryxx. I'll
> > > > > show an shot of my problem and some C++ code here. But I'm
> > > > > sure same problem would exist in C code.
> > > > 
> > > > Now I placed the table into a box to put some OK button below
> > > > and see what happens:
> > > > 
> > > > http://s14.postimage.org/l5cpt0w8x/box_table.jpg
> > > > 
> > > > Here my code:
> > > > http://codepad.org/gizsYHo4
> > > > 
> > > > As result I don't see any entries and align of the widgets has
> > > > changed. But I expected just to put some OK/Cancel button at the
> > > > end of the window. How do you suggest to do this?
> > > 
> > > odd though - why do u choose weight of 0.1 for the labels
> > > horizontally? dont u want 0? this kind of packing should work just
> > > fine though... i know it's used elsewhere in em_test... ?
> > 
> > I use 0.1 because then it looks as expected. If I use 0 then it's
> > not ok.
> > 
> > http://s17.postimage.org/xly8omwgf/set_Size_Hint_Weight.jpg
> > 
> > Even if I set only one widget to
> > 
> > setSizeHintWeight (0, EVAS_HINT_EXPAND);
> 
> well 0 == "dont expand". > 0 == expand. unlike a boolean though, this
> is a weighting of expansion. something with a weight of 2 will expand
> by 2x as many pixels as something with a weighting of 1. generally
> most code chooses 0 or 1 as thats all that matters, but you CAN do
> fine tuning with different values and fractions - it's just odd to
> see 0.1 used.

I tried 1 and it then the label is to large and takes space from the
really important widget (here: entry). So yes, it's a fine tuning. :-)

-- 
Technical Blog <http://andreasvolz.wordpress.com/>

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to