View Issue Details

IDProjectCategoryView StatusLast Update
0031875LazarusLCLpublic2017-05-20 10:27
Reporterwp Assigned ToOndrej Pokorny  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version1.9 (SVN) 
Summary0031875: [HighDpi] Spacing of menu items too narrow
DescriptionIt seems to me that, at resolutions > 100%, the spacing of the items of a TMainMenu is too narrow. The same with TPopupMenu.

See attached screenshots of the IDE's file menu at 100% and 150%.
TagsNo tags attached.
Fixed in Revision55016, 55018, 55019
LazTarget-
WidgetsetWin32/Win64
Attached Files

Relationships

related to 0031877 closedMichl [High-DPI] Menu editor doesn't support high dpi. 

Activities

wp

2017-05-19 11:00

developer  

IDE_FileMenu_100.png (12,809 bytes)   
IDE_FileMenu_100.png (12,809 bytes)   

wp

2017-05-19 11:00

developer  

IDE_FileMenu_150.png (19,513 bytes)   
IDE_FileMenu_150.png (19,513 bytes)   

Ondrej Pokorny

2017-05-19 20:37

developer  

win10.png (40,906 bytes)   
win10.png (40,906 bytes)   

Ondrej Pokorny

2017-05-19 20:38

developer   ~0100507

Hmmm strange. It looks good on Windows 10. See picture.

Ondrej Pokorny

2017-05-19 20:45

developer   ~0100508

Confirmed on Windows 7.

Ondrej Pokorny

2017-05-19 22:34

developer   ~0100515

Should be fixed. Please test.

(The item height increased just by 1px - but it's now the same height that menu items in Internet Explorer have, so I guess it should be so.)

wp

2017-05-20 00:10

developer  

wp

2017-05-20 00:13

developer   ~0100519

Last edited: 2017-05-20 00:20

View 2 revisions

Did not change much (see screenshot "...after_55016.png").

BTW, the fix does not compile with fpc 3.0 (CheckRect.Offset).

Ondrej Pokorny

2017-05-20 07:10

developer   ~0100521

> Did not change much (see screenshot "...after_55016.png").

See my comment above (0031875:0100515) and win7-ie.png

> BTW, the fix does not compile with fpc 3.0 (CheckRect.Offset).

Fixed.

Ondrej Pokorny

2017-05-20 07:10

developer  

win7-ie.png (26,368 bytes)   
win7-ie.png (26,368 bytes)   

Ondrej Pokorny

2017-05-20 07:22

developer   ~0100523

Actually I rechecked again and discovered a 1px difference to IE menu. I added it.

wp

2017-05-20 10:27

reporter   ~0100533

Sorry, I misunderstood your comment.

wp

2017-05-20 10:27

reporter   ~0100534

Thank you

Issue History

Date Modified Username Field Change
2017-05-19 10:58 wp New Issue
2017-05-19 10:58 wp Status new => assigned
2017-05-19 10:58 wp Assigned To => Ondrej Pokorny
2017-05-19 11:00 wp File Added: IDE_FileMenu_100.png
2017-05-19 11:00 wp File Added: IDE_FileMenu_150.png
2017-05-19 20:37 Ondrej Pokorny File Added: win10.png
2017-05-19 20:38 Ondrej Pokorny Note Added: 0100507
2017-05-19 20:45 Ondrej Pokorny Note Added: 0100508
2017-05-19 20:47 Ondrej Pokorny Relationship added related to 0031877
2017-05-19 22:34 Ondrej Pokorny Fixed in Revision => 55016
2017-05-19 22:34 Ondrej Pokorny Note Added: 0100515
2017-05-19 22:34 Ondrej Pokorny Status assigned => resolved
2017-05-19 22:34 Ondrej Pokorny Resolution open => fixed
2017-05-20 00:10 wp File Added: IDE_FileMenu_150_after_55016.png
2017-05-20 00:13 wp Note Added: 0100519
2017-05-20 00:20 wp Note Edited: 0100519 View Revisions
2017-05-20 00:20 wp Status resolved => feedback
2017-05-20 07:10 Ondrej Pokorny Fixed in Revision 55016 => 55016, 55018
2017-05-20 07:10 Ondrej Pokorny Note Added: 0100521
2017-05-20 07:10 Ondrej Pokorny Status feedback => resolved
2017-05-20 07:10 Ondrej Pokorny File Added: win7-ie.png
2017-05-20 07:22 Ondrej Pokorny Fixed in Revision 55016, 55018 => 55016, 55018, 55019
2017-05-20 07:22 Ondrej Pokorny Note Added: 0100523
2017-05-20 10:27 wp Note Added: 0100533
2017-05-20 10:27 wp Note Added: 0100534
2017-05-20 10:27 wp Status resolved => closed