On Thu, 29 Nov 2012 16:15:26 -0200 Bruno Dilly <bdi...@profusion.mobi> said:

> On Thu, Nov 29, 2012 at 3:12 PM, Michael Blumenkrantz
> <michael.blumenkra...@gmail.com> wrote:
> > On Thu, 29 Nov 2012 09:02:26 -0800
> > "Enlightenment SVN" <no-re...@enlightenment.org> wrote:
> >
> >> Log:
> >> e/connman: increase networks popup size
> >>
> >>   Requested by tasn.
> >>   I was a bit conservative here.
> >>
> >>
> >>
> >> Author:       bdilly
> >> Date:         2012-11-29 09:02:26 -0800 (Thu, 29 Nov 2012)
> >> New Revision: 79843
> >> Trac:         http://trac.enlightenment.org/e/changeset/79843
> >>
> >> Modified:
> >>   trunk/e/src/modules/connman/e_mod_main.c
> >>
> >> Modified: trunk/e/src/modules/connman/e_mod_main.c
> >> ===================================================================
> >> --- trunk/e/src/modules/connman/e_mod_main.c  2012-11-29 16:53:29 UTC (rev
> >> 79842) +++ trunk/e/src/modules/connman/e_mod_main.c  2012-11-29 17:02:26
> >> UTC (rev 79843) @@ -342,10 +342,10 @@
> >>     e_widget_list_object_append(list, bt, 1, 0, 0.5);
> >>
> >>     e_widget_size_min_get(list, &mw, &mh);
> >> -   if (mh < 220)
> >> -     mh = 220;
> >> -   if (mw < 200)
> >> -     mw = 200;
> >> +   if (mh < 280)
> >> +     mh = 280;
> >> +   if (mw < 240)
> >> +     mw = 240;
> >>     e_widget_size_min_set(list, mw, mh);
> >>
> >>     e_gadcon_popup_content_set(inst->popup, list);
> >>
> >>
> >
> > why not make it a percentage of screen size?
> 
> It's a nice idea.
> 
> Are we doing something like that on other modules ?
> 
> We could try, but it can result in very small
> popups for low resolution displays and annoying big
> popups for high res, don't you think ? Maybe calculating
> the percentages and checking for a min / max ?

if you do a percentage - this is the right way, as people with nice big screens
dont always want a popup list to be silly tall - and same on the other end...
low res screens dont want it to be so small its useless. you could also take
into account e_scale factor too. :)

> >
> > ------------------------------------------------------------------------------
> > Keep yourself connected to Go Parallel:
> > VERIFY Test and improve your parallel project with help from experts
> > and peers. http://goparallel.sourceforge.net
> > _______________________________________________
> > enlightenment-devel mailing list
> > enlightenment-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 
> 
> 
> -- 
> Bruno Dilly
> Lead Developer
> ProFUSION embedded systems
> http://profusion.mobi
> 
> ------------------------------------------------------------------------------
> Keep yourself connected to Go Parallel: 
> VERIFY Test and improve your parallel project with help from experts 
> and peers. http://goparallel.sourceforge.net
> _______________________________________________
> 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


------------------------------------------------------------------------------
Keep yourself connected to Go Parallel: 
VERIFY Test and improve your parallel project with help from experts 
and peers. http://goparallel.sourceforge.net
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to