Am Wed, 21 Nov 2012 08:40:24 +0900 schrieb Carsten Haitzler (The
Rasterman):

Thanks for this hint. I tried also to set min for a Background object
and it seems to work at least in the way for the window and so the
widgets too.

But I'll try the rect hint too.

> On Tue, 20 Nov 2012 23:15:25 +0100 Andreas Volz <li...@brachttal.net>
> said:
> 
> NEVER set min (or max) size hints on elm objects. they set them
> themselves. all you do is fight over "who set them last". never do
> this. min size horizontally will be almost nothing for an entry (as
> it can scroll...)...
> 
> what you want is an EXTRA controlling geometry... and you can do this
> with tables + evas rects. pack a rect (never show it) in the SAMe
> cell as the entry an set the min size hint on the RECT... (u can set
> max too) and THIS becomes another control-point. the algorithms all
> deal with this correctly and use the "most limiting constraint" of
> all min sizes and all max sizes... :)
> 
> > 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.
> > 
> > Window shot:
> > http://s10.postimage.org/eqt4kvdzd/Entry_min_size.jpg
> > 
> > Source code:
> > http://codepad.org/kEHOX9n1
> > 
> > I expected this call should set a minimum size of the Entry:
> > 
> > et->setMinHintSize (Eflxx::Size (50, 0));
> > 
> > And as result the window start size should include this widget as it
> > does with the label text. But it doesn't work. Any ideas how to get
> > this done?
> > 
> > regards
> >     Andreas
> > 
> > -- 
> > 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
> > 
> 
> 
> -- 
> ------------- Codito, ergo sum - "I code, therefore I am"
> -------------- The Rasterman (Carsten Haitzler)
> ras...@rasterman.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
> 


-- 
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