Jee-Yong Um
c0e8ebc971
elm_box: Fix miscalculated items' size issue in homogeneous box
...
Summary:
When box has expanded items (evas_object_size_hint_weight_set() with EVAS_HINT_EXPAND)
and homogeneous is set (elm_box_homogeneous_set() with EINA_TRUE),
there is a bug that it miscalculates its items size omitting padding size (space among items),
so the last item looks cropped or having smaller size than others.
This patch makes box calculate its items' size correctly.
T2033
Reviewers: Hermet, seoz
Subscribers: seoz, Hermet
Maniphest Tasks: T2033
Differential Revision: https://phab.enlightenment.org/D2016
2015-02-23 17:59:52 +09:00
Mike Blumenkrantz
8265a01c2a
box layout should not silently fail when size is less than min size hint
...
this broke box display in any case where the user had manually changed size hints, eg. when using box align
@fix
2014-12-31 15:32:29 -05:00
shilpa.singh
9cb07eb5fa
elm_box_align_set API fix
...
Summary:
Issue: elm_box_align_set APIs not working well
Solution: hint_set should not be called instead evas box align APIs
have to be used
@fix
Test Plan:
elementary test demo first page, though align is set as 0.0
0.5 it always shows as 0.5
Reviewers: Hermet, raster, seoz
Subscribers: rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D1622
2014-11-09 18:02:37 +09:00
Ryuan Choi
6a8f33b298
els_box: Used Eina_Bool instead of int for the parameters of _els_box_layout
2014-01-14 03:26:16 +09:00
Ryuan Choi
3a3005ffc6
els_box : Move horizontal condition out of some loop in _els_box_layout
...
Summary:
Almost logic of both horizontal and vertical are same except different axis in
_els_box_layout.
This patch reduced code size and improved speed little bit by moving condition
out of the loop using some extra pointer variables.
In addition, removed unnecessary check routines.
There are already similar logic for them before and after.
Reviewers: raster, seoz, cedric
Reviewed By: raster
Differential Revision: https://phab.enlightenment.org/D423
2014-01-13 15:47:05 +09:00
Daniel Juyung Seo
6d71a23c3a
elm lib: removed all the unnecessary empty lines.
...
being pedantic.
2013-12-15 06:18:35 +09:00
Cedric Bail
c929b33052
elementary: properly sanitize headers order.
2013-05-03 16:07:06 +09:00
Carsten Haitzler
25721fa062
Fix elm box layout problem with max sizes.
2013-03-20 20:11:07 +09:00
Jaehwan Kim
ae782f4d81
Fix max value calculation of els_box. Related to svn 82450.
...
SVN revision: 82504
2013-01-10 04:41:36 +00:00
Jaehwan Kim
fbd2af0ca1
Fix Logically dead code
...
SVN revision: 82450
2013-01-09 10:32:52 +00:00
Jaehwan Kim
803ff266ac
Fix copy-paste error
...
SVN revision: 82434
2013-01-09 04:57:54 +00:00
Jaehwan Kim
8bac5d7eed
Remove unnecessary code.
...
SVN revision: 70434
2012-04-24 11:09:31 +00:00
Carsten Haitzler
55257debae
we should use weighty as intended - as a WEIGHTING.. not a boolean.
...
SVN revision: 64145
2011-10-18 10:00:02 +00:00
Mike McCormack
beafec3884
elementary: Improve include file modularity
...
Move stuff out of elm_priv.h
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
SVN revision: 63900
2011-10-07 05:56:07 +00:00
Mike Blumenkrantz
263b5a8b2b
revert this addition from r62857: breaks elm menus in some cases
...
SVN revision: 63312
2011-09-10 14:19:25 +00:00
Daniel Juyung Seo
a817b43d33
elm: Removed all trailing whitespaces.
...
Why they are added even I'm removing them arbitrarily.
SVN revision: 63083
2011-09-02 04:09:17 +00:00
Carsten Haitzler
c739e60ab0
working on factory - fix fixme in box while i'm at it.
...
SVN revision: 62946
2011-08-29 12:52:41 +00:00
Carsten Haitzler
7704b55936
and improve factory massively.. no more "hangs" while scrolling massiv
...
massive massive lists of buttons.
SVN revision: 62857
2011-08-26 12:27:57 +00:00
Tom Hacohen
b8f738e034
Elm box: Respect alignment hints.
...
SVN revision: 62252
2011-08-09 11:54:36 +00:00
Daniel Juyung Seo
eeaf9ea360
Elementary lib: Removed trailing whitespaces except for flip.
...
SVN revision: 59796
2011-05-30 02:31:21 +00:00
Carsten Haitzler
b11b798344
dont set padding of 1000 pls. :)
...
SVN revision: 59700
2011-05-26 09:27:30 +00:00
Carsten Haitzler
322b55133d
elm box -> use padding!
...
SVN revision: 59699
2011-05-26 09:22:43 +00:00
ChunEon Park
22588576be
elementary/theme, widget, win, toolbar, thumb, toggle, util, box - removed white spaces
...
SVN revision: 58249
2011-04-01 11:20:18 +00:00
Tom Hacohen
99da5b6541
Elementary: Added ui-mirroring support for all the widgets.
...
SVN revision: 56803
2011-02-08 12:08:28 +00:00
Tiago Rezende Campos Falcao
4672a51b0c
Remove tests == 0 and != 0
...
SVN revision: 53787
2010-10-22 21:41:27 +00:00
Bruno Dilly
89f23acadc
Remove some dead assignments from elementary
...
SVN revision: 52763
2010-09-25 22:07:55 +00:00
Iván Briano
a95ba2636d
Hacky move to evas_box
...
Evas_Box layouts don't get along with what elm expects,
so for now, it's using the old els_box calculate functions
as a custom layout.
SVN revision: 42863
2009-10-02 19:22:40 +00:00
Christopher Michael
14a2655958
Remove Whitespace.
...
Fix formatting.
Reduce register usage in the reconfigure callback by relocating variable
declarations.
SVN revision: 42708
2009-09-26 03:36:29 +00:00
Daniel Kolesa
6522e43a98
Revert my box unpack function and use ones by Marco Trevisan instead.
...
SVN revision: 42603
2009-09-21 18:09:51 +00:00
Carsten Haitzler
b08873a42d
1. box has clear.
...
2. photocam widget++
SVN revision: 42405
2009-09-11 13:43:02 +00:00
Carsten Haitzler
14b8de3a18
index not in scroller. better. a start.
...
SVN revision: 42241
2009-09-04 09:50:25 +00:00
Cedric BAIL
29adfe9fc8
* elementary: Full switch to Eina data type.
...
SVN revision: 41081
2009-06-17 15:35:19 +00:00
Carsten Haitzler
5c7e2ec144
1. fix box as it didnt hide clipper when it gets empty
...
2. add bouncing at ends for scroller and config for it
3. fix quicklaunch to be cserver-freidnly thanks to its fork tricks
4. add signals to scroller when scrolling and hitting edges
5. pants.
SVN revision: 40549
2009-05-08 11:27:32 +00:00
Gustavo Sverzut Barbieri
d1d91b99df
Move eina list iterations to EINA_LIST_FOREACH variants.
...
By using these macros we can avoid errors and if we need to change
things, we do just in the macro definitions.
SVN revision: 39216
2009-02-25 19:50:45 +00:00
Carsten Haitzler
f05d05fc0e
better kbd focus handling and inwin is there.
...
SVN revision: 38357
2008-12-30 16:19:46 +00:00
Carsten Haitzler
6505d78bc0
clear up some shutdown/deletion bugs
...
SVN revision: 38291
2008-12-23 14:05:56 +00:00
Gustavo Sverzut Barbieri
66ba6e635a
Set member_{add,del} to NULL.
...
SVN revision: 37086
2008-10-25 02:57:03 +00:00
Carsten Haitzler
6f493e0ee1
so much more - valgrind complaints fixed in many places, leaks
...
and anchorblock/view are working...
SVN revision: 37081
2008-10-25 02:11:06 +00:00
Cedric BAIL
2d9ac9118b
Remove Evas list from elementary.
...
SVN revision: 36979
2008-10-22 14:11:59 +00:00
Carsten Haitzler
e8ef0d8bab
new elm api - more evas liek and evas/edje freindly. i can mvoe forward now.
...
SVN revision: 36487
2008-10-07 01:23:49 +00:00
Carsten Haitzler
51123a3452
elementary becomes its own tree/lib/test binary
...
SVN revision: 36343
2008-09-30 06:58:56 +00:00