mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Changed top/bottom & left/right border parameters on BoxLayout to take single gfx::Insets parameter.
https://chromium-review.googlesource.com/c/chromium/src/+/515902
This commit is contained in:
committed by
Cheng Zhao
parent
4607a1fd13
commit
93b3d8cb49
@@ -52,8 +52,7 @@ MenuBar::MenuBar(NativeWindow* window)
|
||||
menu_model_(NULL),
|
||||
window_(window) {
|
||||
UpdateMenuBarColor();
|
||||
SetLayoutManager(new views::BoxLayout(
|
||||
views::BoxLayout::kHorizontal, 0, 0, 0));
|
||||
SetLayoutManager(new views::BoxLayout(views::BoxLayout::kHorizontal));
|
||||
}
|
||||
|
||||
MenuBar::~MenuBar() {
|
||||
|
||||
Reference in New Issue
Block a user