Skip to content

Adding Kerning via Hyperloop, weird behaviour #13983

Answered by m1ga
FizixTiramu asked this question in Q&A
Discussion options

You must be logged in to vote

to fix the order you can just use:

viewInnerLayer.add(headerLabel);

windowLayer.addEventListener("open", function(){
	var nativeLabel = new TextView(headerLabel);
	nativeLabel.setLetterSpacing(-0.02);
})

and don't add the nativeLabel

in case you don't want to use Hyperloop at all: download the ZIP from https://github.com/tidev/titanium-sdk/actions/runs/7781463918?pr=13984 (at the bottom) and use that. Then you just set letterSpacing: -0.02 on the label.

Replies: 5 comments 8 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@FizixTiramu
Comment options

@m1ga
Comment options

m1ga Feb 5, 2024
Collaborator

Comment options

You must be logged in to vote
1 reply
@FizixTiramu
Comment options

Comment options

You must be logged in to vote
3 replies
@m1ga
Comment options

m1ga Feb 5, 2024
Collaborator

Answer selected by FizixTiramu
@FizixTiramu
Comment options

@m1ga
Comment options

m1ga Feb 5, 2024
Collaborator

Comment options

You must be logged in to vote
2 replies
@m1ga
Comment options

m1ga Feb 7, 2024
Collaborator

@FizixTiramu
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants