Skip to content
Discussion options

You must be logged in to vote

Hi,

The default layout options for hbox and vbox include a non-0 gap, as well as some padding. If you're using one of these layouts, you may need to explicitly set these values to 0 in the layout options. Child nodes may also have their own padding, which may or may not need to be set to 0.

protected override getDefaultLayoutOptions(): HBoxLayoutOptionsExt {
        return {
            resizeContainer: true,
            paddingTop: 5,
            paddingBottom: 5,
            paddingLeft: 5,
            paddingRight: 5,
            paddingFactor: 1,
            hGap: 1,
[...]

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@wss29
Comment options

Answer selected by wss29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants