oωo (owo-lib)

oωo (owo-lib)

17M Downloads

[owo-ui] LTR text flow layout miscalculates the number of possible columns and the result is different sometimes

Zailer43 opened this issue · 0 comments

commented

Description

I was upgrading my mod from 1.19.4 to 1.20 and I saw in the changelog that owo-lib had an implementation of a component I made (VerticalGridLayout), so I used it, but it seems to have problems to calculate the amount of maximum possible columns and also that when unmaximizing and maximizing the gui changes the amount of columns

Attachments where the error can be seen

Peek.2023-06-15.22-53.mp4

here there should be 26 columns
image
image

here 27 columns
image

and here 3
image
image

Details

minecraft_version=1.20.1
fabric_version=0.83.1+1.20.1
owo_version=0.11.0+1.20