2010/3/1 Enlightenment SVN <no-re...@enlightenment.org>

> Log:
>  improve sizing of basic configuration.
>
>  Dave, are the advanced options working? I never tested them but the
>  dialog seems bit too polluted. Are all those options working? Do they
>  make sense? Maybe it should be reworked to be simpler and provide some
>  context (as far as I know, they just apply to "on top" gadgets)?
>

Yes, last time I tryed was working as espected.
and yes, It's the configuration for the background of the top-layer...I
don't know
how to make this dialog simpler :/


>
>
>
> Author:       barbieri
> Date:         2010-03-01 09:35:47 -0800 (Mon, 01 Mar 2010)
> New Revision: 46720
>
> Modified:
>  trunk/e/src/modules/gadman/e_mod_config.c
>
> Modified: trunk/e/src/modules/gadman/e_mod_config.c
> ===================================================================
> --- trunk/e/src/modules/gadman/e_mod_config.c   2010-03-01 17:35:40 UTC
> (rev 46719)
> +++ trunk/e/src/modules/gadman/e_mod_config.c   2010-03-01 17:35:47 UTC
> (rev 46720)
> @@ -101,6 +101,7 @@
>  _basic_create_widgets(E_Config_Dialog *cfd, Evas *evas,
> E_Config_Dialog_Data *cfdata)
>  {
>    Evas_Object *o, *of, *ob, *ol;
> +   Evas_Coord mw, mh;
>
>    o = e_widget_list_add(evas, 0, 0);
>    of = e_widget_framelist_add(evas, _("Available Gadgets"), 0);
> @@ -117,7 +118,14 @@
>    ob = e_widget_button_add(evas, _("Add Gadget"), NULL, _cb_add, cfdata,
> NULL);
>    e_widget_disabled_set(ob, 1);
>    cfdata->o_add = ob;
> -   e_widget_framelist_object_append(of, ob);
> +   e_widget_size_min_get(ob, &mw, &mh);
> +   e_widget_framelist_object_append_full(of, ob,
> +                                        1, 1, /* fill */
> +                                        1, 0, /* expand */
> +                                        0.5, 0.5, /* align */
> +                                        mw, mh, /* min */
> +                                        99999, 99999 /* max */
> +                                        );
>
>    e_widget_list_object_append(o, of, 1, 1, 0.5);
>    e_dialog_resizable_set(cfd->dia, 1);
> @@ -308,7 +316,7 @@
>    e_widget_ilist_go(ilist);
>    e_widget_size_min_get(ilist, &w, NULL);
>    if (w < 200) w = 200;
> -   e_widget_size_min_set(ilist, w, 250);
> +   e_widget_size_min_set(ilist, w, 100);
>    e_widget_ilist_thaw(ilist);
>  }
>
>
>
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> enlightenment-svn mailing list
> enlightenment-...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
>
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to