forked from enlightenment/efl
Evas textblock: Make the ellipsis format the same as the surrounding.
This fix is based on a solution by WooHyun Jung.
This commit is contained in:
parent
fb3159c48e
commit
1d75dcaf56
|
@ -1,3 +1,7 @@
|
|||
2013-08-08 Tom Hacohen
|
||||
|
||||
* Evas textblock: Make the ellipsis format the same as the surrounding.
|
||||
|
||||
2013-08-07 Tom Hacohen
|
||||
|
||||
* Evas textblock: Use max ascent/descent at the edges of the textblock.
|
||||
|
|
1
NEWS
1
NEWS
|
@ -59,6 +59,7 @@ Additions:
|
|||
- Use eina_file_virtualize() for evas_object_image_memfile_set().
|
||||
- Change mapping policy for image loader.
|
||||
- textblock: Use max ascent/descent at the edges of the textblock.
|
||||
- textblock: Make the ellipsis format the same as the surrounding.
|
||||
* Ecore_X:
|
||||
- Add window profile support.
|
||||
ECORE_X_ATOM_E_WINDOW_PROFILE_SUPPORTED
|
||||
|
|
|
@ -4206,8 +4206,7 @@ _layout_ellipsis_item_new(Ctxt *c, const Evas_Object_Textblock_Item *cur_it)
|
|||
|
||||
/* We can free it here, cause there's only one ellipsis item per tb. */
|
||||
if (c->o->ellip_ti) _item_free(c->obj, NULL, _ITEM(c->o->ellip_ti));
|
||||
c->o->ellip_ti = ellip_ti = _layout_text_item_new(c,
|
||||
eina_list_data_get(eina_list_last(c->format_stack)));
|
||||
c->o->ellip_ti = ellip_ti = _layout_text_item_new(c, cur_it->format);
|
||||
ellip_ti->parent.text_node = cur_it->text_node;
|
||||
ellip_ti->parent.text_pos = cur_it->text_pos;
|
||||
script = evas_common_language_script_type_get(_ellip_str, len);
|
||||
|
|
Loading…
Reference in New Issue