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:
parent
4607a1fd13
commit
93b3d8cb49
1 changed files with 1 additions and 2 deletions
|
@ -52,8 +52,7 @@ MenuBar::MenuBar(NativeWindow* window)
|
||||||
menu_model_(NULL),
|
menu_model_(NULL),
|
||||||
window_(window) {
|
window_(window) {
|
||||||
UpdateMenuBarColor();
|
UpdateMenuBarColor();
|
||||||
SetLayoutManager(new views::BoxLayout(
|
SetLayoutManager(new views::BoxLayout(views::BoxLayout::kHorizontal));
|
||||||
views::BoxLayout::kHorizontal, 0, 0, 0));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
MenuBar::~MenuBar() {
|
MenuBar::~MenuBar() {
|
||||||
|
|
Loading…
Reference in a new issue