I am in progress of learning GTK+, and maybe using GTKD might not be the best way to do it, but it'll have to do. My error here is probably extremely stupid but I really couldn't figure it out.

When I create a MenuBar, it takes up all height available.

int main(string[] arguments) {
	Main.init(arguments);
	Window window = new Window("Test");
	window.setDefaultSize(640, 360);

	auto menu = new MenuBar;
	auto menuItem = menu.append("File");
	auto menuItem2 = menu.append("Edit");
	window.add(menu);

	window.showAll();
	window.addOnDelete(toDelegate(&handleCloseRequested));
	Main.run();

	return 0;
}

How to fix this?

Image Generated Window