Skip to content

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

@mundusnine

Description

@mundusnine

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions