[
https://issues.apache.org/jira/browse/WEEX-91?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16239409#comment-16239409
]
ASF GitHub Bot commented on WEEX-91:
------------------------------------
GitHub user acton393 opened a pull request:
https://github.com/apache/incubator-weex/pull/834
* [ios] support max-width when drawing text
fix issue:
https://issues.apache.org/jira/projects/WEEX/issues/WEEX-91?filter=allopenissues
Here is the code on dotwe:
http://dotwe.org/vue/7e556c582a55630518d0bf6336ddde0e
I test compatibility on iOS 8,iOS9 and iOS 11.
<img width="864" alt="2017-11-05 12 35 40"
src="https://user-images.githubusercontent.com/11631084/32412168-51afa726-c1bd-11e7-938f-2bb7063399f5.png">
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/acton393/incubator-weex wip-us-master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-weex/pull/834.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #834
----
commit 81115d0bf880ede9da0dad0b74b533d6c30eef46
Author: acton393 <[email protected]>
Date: 2017-10-13T08:35:03Z
* [ios] fix issue https://issues.apache.org/jira/browse/WEEX-81 that
box-shadow is abnormal in border-radius
commit fba9dfed38d02c6a6ddd5bbd25d10416c1d6c27c
Author: acton393 <[email protected]>
Date: 2017-10-16T03:07:48Z
Merge branch 'master' of
https://git-wip-us.apache.org/repos/asf/incubator-weex into wip-us-master
commit 0e1470ae0f4744b54953f64fa48164995d61231a
Author: acton393 <[email protected]>
Date: 2017-10-18T03:01:05Z
Merge branch 'master' of
https://git-wip-us.apache.org/repos/asf/incubator-weex into wip-us-master
commit 343ad6f1b49bab8908f298a25f25ca9eb4f8ba06
Author: acton393 <[email protected]>
Date: 2017-10-18T03:04:28Z
* [ios] parse fetch response while the callback is existed
commit 6cd64a775ecfd518ccc15fad8d4515c2097e8933
Author: acton393 <[email protected]>
Date: 2017-10-26T08:19:33Z
Merge branch 'master' of
https://git-wip-us.apache.org/repos/asf/incubator-weex into wip-us-master
commit e1f33449d9807ac34086d27a404be6847804b830
Author: acton393 <[email protected]>
Date: 2017-10-31T14:26:07Z
Merge branch 'master' of
https://git-wip-us.apache.org/repos/asf/incubator-weex into wip-us-master
commit 5896a612ac0a41b128dfda12bb3ee954f8ac612a
Author: acton393 <[email protected]>
Date: 2017-11-05T04:56:55Z
* [ios] fix issue
https://issues.apache.org/jira/projects/WEEX/issues/WEEX-91? taking max-width
into consideration when meassuring text
----
> support max-width in text component on iOS
> -------------------------------------------
>
> Key: WEEX-91
> URL: https://issues.apache.org/jira/browse/WEEX-91
> Project: Weex
> Issue Type: New Feature
> Components: iOS
> Reporter: xingZhang
> Assignee: Adam Feng
> Attachments: 屏幕快照 2017-11-05 12.06.48.png
>
>
> As I test the css for `max-width`, it works well both on Android and Web
> platform except iOS.
> Here is the test code on DotWe website:
> http://dotwe.org/vue/7e556c582a55630518d0bf6336ddde0e
> When meassuring the width of drawing text , the max-width of css-style should
> take into consideration.It seems that only width for css-style works.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)