Skip to content

Conversation

@merlinz01
Copy link

These were switched, causing a horizontal separator to appear as a vertical one and presumably vice versa.

mainWindow, err := walk.NewMainWindowWithCfg(&walk.MainWindowCfg{})

...

mainLayout = walk.NewVBoxLayout()
mainWindow.SetLayout(mainLayout)

...

separator, _ := walk.NewHSeparator(w.mainWindow)

Before:

image

After:

image

These were switched, causing a horizontal separator to appear as a vertical one.
@merlinz01
Copy link
Author

On the other hand, maybe the horizontal/vertical is referring to the layout it goes in, e.g. a vertical separator is a (horizontal) line that separates a vertical layout.

I think it's clearer the other way though.

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

Successfully merging this pull request may close these issues.

1 participant