Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
25f34789
Commit
25f34789
authored
May 10, 2012
by
Piotr Caban
Committed by
Alexandre Julliard
May 10, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Make icons not overlapping in LVS_ICON mode.
parent
8276a337
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
listview.c
dlls/comctl32/listview.c
+6
-4
No files found.
dlls/comctl32/listview.c
View file @
25f34789
...
...
@@ -8564,10 +8564,12 @@ static DWORD LISTVIEW_SetIconSpacing(LISTVIEW_INFO *infoPtr, INT cx, INT cy)
if
(
cy
==
-
1
)
cy
=
GetSystemMetrics
(
SM_CYICONSPACING
);
/* if 0 then compute width
* FIXME: Should scan each item and determine max width of
* icon or label, then make that the width */
if
(
cx
==
0
)
cx
=
infoPtr
->
iconSpacing
.
cx
;
* FIXME: computed cx and cy is not matching native behaviour */
if
(
cx
==
0
)
{
cx
=
GetSystemMetrics
(
SM_CXICONSPACING
);
if
(
infoPtr
->
iconSize
.
cx
+
ICON_LR_PADDING
>
cx
)
cx
=
infoPtr
->
iconSize
.
cx
+
ICON_LR_PADDING
;
}
/* if 0 then compute height */
if
(
cy
==
0
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment