Skip to content
Snippets Groups Projects
Commit 742e1354 authored by Francis Beaudet's avatar Francis Beaudet Committed by Alexandre Julliard
Browse files

Handle the case when the button is really small.

parent 46570a9d
No related branches found
No related tags found
No related merge requests found
......@@ -1140,6 +1140,14 @@ static BOOL UITOOLS95_DrawFrameScroll(HDC dc, LPRECT r, UINT uFlags)
int tri = 290*SmallDiam/1000 - 1;
int d46, d93;
/*
* This fixes a problem with really tiny "scroll" buttons. In particular
* with the updown control.
* Making sure that the arrow is as least 3 pixels wide (or high).
*/
if (tri == 0)
tri = 1;
switch(uFlags & 0xff)
{
case DFCS_SCROLLCOMBOBOX:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment