mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Implement custom measure for ios btn when textWrap is true (#4326)
Implement custom measure for ios btn when textWrap is true
This commit is contained in:
committed by
GitHub
parent
014e7a8e0f
commit
e33eca63d6
@@ -18,7 +18,7 @@
|
||||
<!-- Wrap excessive items on new lines -->
|
||||
<FlexboxLayout flexWrap="wrap" alignContent="flex-start">
|
||||
|
||||
<Label textWrap="wrap" text="Sed aliquet diam sed augue vestibulum scelerisque." id="title" />
|
||||
<Label textWrap="true" text="Sed aliquet diam sed augue vestibulum scelerisque." id="title" />
|
||||
|
||||
<!-- Use flexWrapBefore to control explicit line wrapping -->
|
||||
<Label text="Gihub issue labels:" flexWrapBefore="true" fontSize="11" />
|
||||
@@ -33,7 +33,7 @@
|
||||
<Label text="T: Phasellus" borderRadius="5" backgroundColor="green" margin="2"/>
|
||||
<Label text="Nullam" borderRadius="5" backgroundColor="gray" margin="2"/>
|
||||
|
||||
<Label flexWrapBefore="true" textWrap="wrap" text="Pellentesque molestie nibh et leo facilisis gravida ac porttitor eros. Etiam tempus diam nulla, ut fermentum mauris aliquet quis. Cras finibus vitae magna in bibendum." id="description" />
|
||||
<Label flexWrapBefore="true" textWrap="true" text="Pellentesque molestie nibh et leo facilisis gravida ac porttitor eros. Etiam tempus diam nulla, ut fermentum mauris aliquet quis. Cras finibus vitae magna in bibendum." id="description" />
|
||||
</FlexboxLayout>
|
||||
</ScrollView>
|
||||
<FlexboxLayout>
|
||||
|
||||
Reference in New Issue
Block a user