View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0031829 | Lazarus | LCL | public | 2017-05-17 17:36 | 2017-05-20 10:26 |
Reporter | wp | Assigned To | Ondrej Pokorny | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Product Version | 1.9 (SVN) | ||||
Summary | 0031829: [HiDPI] Treeview expand icons not scaling | ||||
Description | The expand icons of TTreeview are not scaling. The attached screenshot show treeviews with dummy data: the treeview in the background windows belongs to my virtual machine with Win7 at 150%, the treeview in the foreground to my standard Win10 at 100%. The size of the treeview expand icons is the same in both windows. | ||||
Tags | No tags attached. | ||||
Fixed in Revision | |||||
LazTarget | - | ||||
Widgetset | Win32/Win64 | ||||
Attached Files |
|
|
|
|
Please upload a simple test project. TTreeView should be high-dpi aware already. You can see it from svn log for treeview.inc. (Although I need to rewrite it the same way I did with grids today.) |
|
|
|
Demo added (just a form with a treeview containing some dummy nodes. ExpandSignType set to tvestPlusMinus) --> If I overlay (on the same screen) the output of my standard windows with 100% on the output of the windows in the VM at 150% I see that Plus/Minus icons are the same size, i.e. not scaled). However, if ExpandSignType is set to tvestTheme and if "use manifest support" for the application is turned OFF (!) in the project settings then scaling seems to work (see screen shot treeview_expand_icons_no_themes.png, foreground window is 100%, background window is 150%) although the scaling factor of the expand icons looks more like 200% than 150%. |
|
|
|
|
|
Fixed. Non-themed node icons were not scaled. |
|
Thank you |
Date Modified | Username | Field | Change |
---|---|---|---|
2017-05-17 17:36 | wp | New Issue | |
2017-05-17 17:36 | wp | Status | new => assigned |
2017-05-17 17:36 | wp | Assigned To | => Ondrej Pokorny |
2017-05-17 17:36 | wp | File Added: treeview_expandicons.png | |
2017-05-17 21:10 | Ondrej Pokorny | Note Added: 0100369 | |
2017-05-17 22:46 | wp | File Added: 31829_treeview_expandicons.zip | |
2017-05-17 23:08 | wp | File Added: treeview_expandicons_no_themes.png | |
2017-05-17 23:09 | wp | Note Added: 0100376 | |
2017-05-17 23:10 | wp | Note Edited: 0100376 | View Revisions |
2017-05-17 23:16 | wp | File Deleted: treeview_expandicons_no_themes.png | |
2017-05-17 23:17 | wp | File Added: treeview_expandicons_no_themes1.png | |
2017-05-17 23:18 | wp | File Added: 31829_treeview_expandicons_no_themes.zip | |
2017-05-20 07:57 | Ondrej Pokorny | Note Added: 0100525 | |
2017-05-20 07:57 | Ondrej Pokorny | Status | assigned => resolved |
2017-05-20 07:57 | Ondrej Pokorny | Resolution | open => fixed |
2017-05-20 10:26 | wp | Note Added: 0100532 | |
2017-05-20 10:26 | wp | Status | resolved => closed |