Text become ...
Closed this issue · 2 comments
Hi !
I'm a big fan of the typeface attribute. Make me win a lot of time.
On a specific TextView I've some kind of side effect.
Printed text is "..." while text attribute is set to a word (in this case, "Category")
See XML :
<com.neopixl.pixlui.components.textview.TextView
android:id="@+id/categorie"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingBottom="3dp"
android:paddingTop="3dp"
android:paddingLeft="25dp"
android:background="@color/grey_dark"
android:text="Category"
android:textStyle="bold"
android:textColor="@color/white"
pixlui:typeface="archivoblackregular.ttf"
android:textAllCaps="true"
/>
When typeface is removed, the bug doesn't appear. It might be due to onMeasure not being properly implemented.
What do you think about that ?
Bonjour Damien ;)
I have decide to fix the ellipsizing on Android because it's really crappy. It's why we truncated by word and no by part of the word. A workaround could be to have a bigger area for your textfield.
If not, I can add a new mode with offer the choice to disable our ellipsizing mode :)
Actually the text field is matching parent. There is the full screen to
print the world.
I found a workaround. Using an ellipzising textview I don't have the
problem and the world is fully printed.
Le 27 déc. 2013 13:06, "odemolliens" notifications@github.com a écrit :
Bonjour Damien ;)
I have decide to fix the ellipsizing on Android because it's really crappy.
It's why we truncated by word and no by part of the word. A workaround
could be to have a bigger area for your textfield.
If not, I can add a new mode with offer the choice to disable our
ellipsizing mode :)
—
Reply to this email directly or view it on
GitHubhttps://github.com//issues/2#issuecomment-31258133
.