[E-devel] Suggestion: Fingersize based minimum part size setting in edje

6 views
Skip to first unread message

SHILPA ONKAR SINGH

unread,
Mar 29, 2012, 8:37:20 AM3/29/12
to enlighten...@lists.sourceforge.net, csm...@samsung.com
Hi All,

We have a idea/suggestion and need your opinion.

Currently we have a way to set minimum size of widget based on finger size through .c
But we don’t have any recommended way to set minimum size of a part of a widget’s edc through .c

For example minimum size of dragable parts of a widget can be atleast equal to finger size for
Convenient handling
Or
event areas of widget can have minimum size atleast equal to finger size.

Hence we think it would be a good idea if we can set minimum size of part as finger size through some edje_cc variable
For eg: finger_size: 1; when this variable is set in a part its minimum size can be automatically set to finger size, if no min size is set. (or) calculated based on finger size (may be Max of given min size and finger size).

Sample edc:
part { name: "name";
.
.
.
description { state: "default" 0.0;
finger_size: 1;/*finger size will be considered while calculating minimum size for this part*/
.
.
.
}
}

Thanks & Regards
Shilpa Singh
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
enlightenment-devel mailing list
enlighten...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Carsten Haitzler

unread,
Mar 29, 2012, 9:56:59 AM3/29/12
to Enlightenment developer list, csm...@samsung.com
On Thu, 29 Mar 2012 12:37:20 +0000 (GMT) SHILPA ONKAR SINGH
<shilpa...@samsung.com> said:

this is already done by swallowing invisible rectangles, and elm setting a min
size on them (ie finger size). :)


--
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler) ras...@rasterman.com

Reply all
Reply to author
Forward
0 new messages