You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a font is missing and a label uses a non-default font-size, then it seems to ignore the label size when laying out the remaining content.
Expected Behavior
The layout should respect the font size of the label.
Current Behavior
The label's font size is ignored.
Possible Solution
I ran into this because the default font was Arial, which has been changed in 10d6289. Updating to the latest git version of haxeui-html5 and avoiding fonts that may not exist universally avoids this issue.
Steps to Reproduce (for bugs)
Use the main-view.xml given in the minimal test case.
When a font is missing and a label uses a non-default font-size, then it seems to ignore the label size when laying out the remaining content.
Expected Behavior
The layout should respect the font size of the label.
Current Behavior
The label's font size is ignored.
Possible Solution
I ran into this because the default font was Arial, which has been changed in 10d6289. Updating to the latest git version of
haxeui-html5
and avoiding fonts that may not exist universally avoids this issue.Steps to Reproduce (for bugs)
Use the
main-view.xml
given in the minimal test case.Observe the broken layout.
Media
First example
Initial layout:
Layout after 2 seconds pass:
Second example
Initial layout:
Layout after 2 seconds pass:
Test app / minimal test case
This example reproduces the behaviour:
In the above case, the layout becomes correct after two seconds pass, however, in more complicated scenarios it remains broken even after updating:
Your Environment
Behaviour seems consistent between firefox and chrome.
The text was updated successfully, but these errors were encountered: