Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent font-size inheritance #545

Open
Gioele-Bencivenga opened this issue Sep 22, 2023 · 0 comments
Open

Inconsistent font-size inheritance #545

Gioele-Bencivenga opened this issue Sep 22, 2023 · 0 comments

Comments

@Gioele-Bencivenga
Copy link

Expected Behavior

font-size increases coming from the parent component (vbox in this case) lead borders and other attributes to be correctly recalculated by the children

Current Behavior

Children of the vbox have the font-size applied but no change in bounds and/or spacing

Possible Solution

I don't know haxeui's internal working enough to suggest how to solve this :(

Steps to Reproduce (for bugs)

Builder example with font-size applied to parent vbox: http://haxeui.org/builder/?a05f44d5

Builder example with font-size applied to some individual components: http://haxeui.org/builder/?f96aa6ff

Media

font-size applied to parent:
image

font-size applied to individual components:
image

Test app / minimal test case

Builder example with font-size applied to parent vbox: http://haxeui.org/builder/?a05f44d5

Builder example with font-size applied to some individual components: http://haxeui.org/builder/?f96aa6ff

Context

I'm trying to have a larger application-wide font and this problem forces me to specify it in lots of different places.

Your Environment

Experienced in latest haxeui version, html5 app.

  • Version used: latest from haxelib and the one used in the builder
  • Environment name and version (e.g. Chrome 39, node.js 5.4): tested on latest Brave and Edge
  • Operating System and version (desktop or mobile): Windows 10
  • Link to your project: http://haxeui.org/builder/?a05f44d5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant