andlabs / andlabs/libui

DrawTextLayout alignment

Open
#368 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
10.9k
Forks
612
PR merge metrics
No merged PRs in 30d

Description

On macOS, the other alignment types don't really respect `uiDrawTextLayoutParams.Width`, but rather the longest line:

![bildschirmfoto 2018-05-20 um 23 28 46](https://user-images.githubusercontent.com/4586894/40283857-9e58f98e-5c85-11e8-832f-cd86f41cae36.png)
![bildschirmfoto 2018-05-20 um 23 28 49](https://user-images.githubusercontent.com/4586894/40283859-9e7953a0-5c85-11e8-9642-9e3fd20216d8.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.