win: Make menu bar height 20.

On Windows applications used to have lower menu bars.
This commit is contained in:
Cheng Zhao 2014-07-25 15:05:18 +08:00
parent 2afd3a85a9
commit 709670be8e

View file

@ -52,7 +52,11 @@ namespace atom {
namespace {
// The menu bar height in pixels.
#if defined(OS_WIN)
const int kMenuBarHeight = 20;
#else
const int kMenuBarHeight = 25;
#endif
class NativeWindowClientView : public views::ClientView {
public: