mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[EXPLORER] CNotifyToolbar: Set TBMETRICS::cxBarPad and TBMETRICS::cyBarPad
MSDN says that these values are not used but apparently they are used as a padding around the buttons. This helps to center the buttons in the notification area.
This commit is contained in:
parent
19a67154c6
commit
22d1e1017f
1 changed files with 2 additions and 0 deletions
|
@ -1189,6 +1189,8 @@ void CNotifyToolbar::Initialize(HWND hWndParent, CBalloonQueue * queue)
|
|||
tbm.dwMask = TBMF_BARPAD | TBMF_BUTTONSPACING | TBMF_PAD;
|
||||
tbm.cxPad = 1;
|
||||
tbm.cyPad = 1;
|
||||
tbm.cxBarPad = 1;
|
||||
tbm.cyBarPad = 1;
|
||||
tbm.cxButtonSpacing = 1;
|
||||
tbm.cyButtonSpacing = 1;
|
||||
SetMetrics(&tbm);
|
||||
|
|
Loading…
Reference in a new issue