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

Css props height/width in style="" don't accept % values #28

Open
mundusnine opened this issue Jan 31, 2019 · 0 comments
Open

Css props height/width in style="" don't accept % values #28

mundusnine opened this issue Jan 31, 2019 · 0 comments

Comments

@mundusnine
Copy link
Contributor

Expected Behavior

If we put a percentage value in css prop height/width in the style="" the height/width should be set to the percentage value and not just null out

Current Behavior

When putting a height/width with a percentage(100%) value in the css style="" it creates a width or height of zero(or null)

Possible Solution

In the meantime users can use width="100%"

Steps to Reproduce (for bugs)

In main.xml

<vbox width="100%" style="height: 100%;" >
    <box id="I will not appear because vbox height is ill defined">
    <box/>
<vbox/>

Your Environment

haxeui-core and haxui-kha git new-component-method

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