win: Make menu bar height 20.
On Windows applications used to have lower menu bars.
This commit is contained in:
parent
2afd3a85a9
commit
709670be8e
1 changed files with 4 additions and 0 deletions
|
@ -52,7 +52,11 @@ namespace atom {
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
// The menu bar height in pixels.
|
// The menu bar height in pixels.
|
||||||
|
#if defined(OS_WIN)
|
||||||
|
const int kMenuBarHeight = 20;
|
||||||
|
#else
|
||||||
const int kMenuBarHeight = 25;
|
const int kMenuBarHeight = 25;
|
||||||
|
#endif
|
||||||
|
|
||||||
class NativeWindowClientView : public views::ClientView {
|
class NativeWindowClientView : public views::ClientView {
|
||||||
public:
|
public:
|
||||||
|
|
Loading…
Reference in a new issue