forked from enlightenment/efl
Evas textblock: Don't include right margin/padding twice when aligning lines.
This should fix enventor issues. @fix
This commit is contained in:
parent
66e1cc29bc
commit
2eaf9049b9
|
@ -3389,10 +3389,11 @@ loop_advance:
|
|||
c->y += c->ascent + c->descent;
|
||||
if (c->w >= 0)
|
||||
{
|
||||
/* c->o->style_pad.r is already included in the line width, so it's
|
||||
* not used in this calculation. . */
|
||||
c->ln->x = c->marginl + c->o->style_pad.l +
|
||||
((c->w - c->ln->w -
|
||||
c->o->style_pad.l - c->o->style_pad.r -
|
||||
c->marginl - c->marginr) * _layout_line_align_get(c));
|
||||
c->o->style_pad.l - c->marginl) * _layout_line_align_get(c));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue