Hi!
In my opinion there is a bug when using LargeIcons := True on a bar manager with assigning the correct DPI related image list to bar manager: on a HighDPI System (192 DPI) the bar item are much too large (see attached screenshots on attachment: it has a very large empty area around the images)
To reproduce, run application from attached sample on a 192 DPI system and toggle the 'Large' checkbox.
Here's the main code of check box:
Delphiif Screen.PixelsPerInch >= 144 then
begin
dxBarManager1.ImageOptions.Images := cxImageList3;
dxBarManager1.ImageOptions.LargeImages := cxImageList4;
end
else
begin
dxBarManager1.ImageOptions.Images := cxImageList1;
dxBarManager1.ImageOptions.LargeImages := cxImageList2;
end;
dxBarManager1.ImageOptions.LargeIcons := not dxBarManager1.ImageOptions.LargeIcons;
the TcxImageLists cxImageList1 (16x16) and cxImageList2 (32x32) have a SourceDPI set to 96 and cxIMageList3 (32x32) and cxImageList4 (64x64) have set SourceDPI to 192. So they will not scale itself.
Any idea how to fix this?
Thanks, Oliver. I have reproduced this behavior and forwarded this ticket to our developers for research.
Thank you very much for creating a hotfix! Now everything is working fine with 2017.1 :-)