Page MenuHomePhabricator

Evas TextBlock: scale linesize with current scale.
AbandonedPublic

Authored by trueguypankaj on Feb 15 2016, 11:49 PM.

Details

Summary

_layout_format_ascent_descent_adjust function adjust the ascent/descent of the format and context.
Whenever scale changes(i.e. increases or decreases), linesize must accordingly incorporate it.
Otherwise linesize will not change.

Test Plan

1.Create any popup with textblock in it.
2.Set elm_config_scale_set to 0.56.
3.Show your popup.
4.Check linesize.
5.Without this patch ,linesize will not scale itself.

Diff Detail

Repository
rEFL core/efl
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 1345
Build 1410: arc lint + arc unit
trueguypankaj retitled this revision from to Evas TextBlock:scale linesize with elm_config_scale..
trueguypankaj updated this object.
trueguypankaj edited the test plan for this revision. (Show Details)
tasn requested changes to this revision.Feb 16 2016, 12:45 AM
tasn edited edge metadata.

Many comments to _ami_ on irc.

This revision now requires changes to proceed.Feb 16 2016, 12:45 AM
trueguypankaj retitled this revision from Evas TextBlock:scale linesize with elm_config_scale. to Evas TextBlock: scale linesize with elm_config_scale..Feb 16 2016, 12:50 AM
trueguypankaj edited edge metadata.
trueguypankaj edited edge metadata.

Evas Textblock: syntax errors corrected.

trueguypankaj retitled this revision from Evas TextBlock: scale linesize with elm_config_scale. to Evas TextBlock: scale linesize with current scale..Feb 16 2016, 1:13 AM
trueguypankaj edited edge metadata.

I will add test suite in my next commit.
Can you please let me know, is there any API to get linesize of Textblock .

trueguypankaj abandoned this revision.Feb 16 2016, 2:01 AM

similar patch has already been raised.

https://phab.enlightenment.org/D3688