On Tue, 26 Jun 2012 16:12:30 +0200 Ingvaldur Sigurjonsson <[email protected]> said:
i shall ignore your patch.... as requested... :) but... you mean line 117: if (sd->evaluating) return; that looks correct - to avoid a loop and self re-evaluation due to callbacks in sub functions... > Hi > > I took a look at src/lib/elm_flipselector.c and found an erronous > 'if( sd->evaling )' that prevented the sizing logic to function correctly. > > Changed it to 'if(!sd->evaling)', and even added an explicit > initializa of it's value to EINA_FALSE. See enclosed patch for details. > > Please ignore my previous patches, they didn't really address the > cause of the bug. > > Regards > - Ingvaldur > > > On 06/26/2012 05:52 AM, woohyun wrote: > > I think this is the problem of elm_flipselector. > > It should calculate its min size when there is a change in the length of > > label. I'll check it soon :) > > > > -----Original Message----- > > From: "Ingvaldur Sigurjonsson"<[email protected]> > > To: <[email protected]>; > > Cc: > > Sent: 2012-06-25 (월) 21:49:06 > > Subject: [E-devel] [Patch] Elementary : Flip selector test and example > > patches > > > > Hi > > > > Enclosed you find small patches for Elementary's "Flip selector" test > > and example. > > > > Without the patch, the value the flip selector is supposed to show is > > way too narrow, so narrow that you only see two characters of it's > > value. The patches simply add a 'evas_object_size_hint_align_set(fp, > > EVAS_HINT_FILL, EVAS_HINT_FILL);' so the flip-selector widget is resized > > when it's container is resized (box,...). > > > > I assume the flip-selector widget width is supposed to be controlled > > by the longest length (up to some maximum) of one of it's values but I > > dont know how to fix that. Atleast you can see the values with the > > enclosed patches. > > > > Files affected by the patch are: > > - src/bin/test_flipselector.c > > - src/examples/flipselector_example.c > > > > Regards > > - Ingvaldur > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. > > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________ > > enlightenment-devel mailing list [email protected] > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > enlightenment-devel mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) [email protected] ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
