Commit 437c1355 authored by Jan Blackquill's avatar Jan Blackquill 🌈 Committed by Nate Graham

Increase menu padding to allow for a larger interaction region

parent 42a885a9
......@@ -53,9 +53,10 @@ namespace Breeze
// menu items
static constexpr int Menu_FrameWidth = 0;
static constexpr int MenuItem_MarginWidth = 5;
static constexpr int MenuItem_MarginHeight = 3;
static constexpr int MenuItem_MarginWidth = 10;
static constexpr int MenuItem_MarginHeight = 5;
static constexpr int MenuItem_ItemSpacing = 4;
static constexpr int MenuItem_SeparatorPadding = 0;
static constexpr int MenuItem_AcceleratorSpace = 16;
static constexpr int MenuButton_IndicatorWidth = 20;
......
......@@ -2933,7 +2933,7 @@ namespace Breeze
if( menuItemOption->text.isEmpty() && menuItemOption->icon.isNull() )
{
return expandSize( QSize(0,1), Metrics::MenuItem_MarginWidth, Metrics::MenuItem_MarginHeight );
return expandSize( QSize(0,1), Metrics::MenuItem_MarginWidth, Metrics::MenuItem_SeparatorPadding );
} else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment