Skip to content

app does not start through padding #43

@lublak

Description

@lublak

Expected Behavior

The application should start

Current Behavior

The application not start at all without errors.

Possible Solution

Steps to Reproduce (for bugs)

Create a xml with padding! (without padding it works)

package ;

import haxe.ui.containers.VBox;

@:build(haxe.ui.ComponentBuilder.build("assets/main-view.xml"))
class MainView extends VBox {
    public function new() {
        super();
    }
}
<vbox style="padding: 5px;" width="100%">
     <tabview width="240" height="100">
        <box text="Page1">
            <button text="Page 1" />
        </box>
        <box text="Page2">
            <button text="Page 2" />
        </box>
        <box text="Page3">
            <button text="Page 3" />
        </box>
    </tabview>
</vbox>

Test app / minimal test case

test.zip

Your Environment

  • Version used: git f0134b7
  • Operating System and version (desktop or mobile): Windows 10 desktop

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