View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006504 | JEDI VCL | 00 JVCL Components | public | 2016-03-31 10:43 | 2019-05-02 08:33 |
Reporter | DanielTr | Assigned To | jfudickar | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 3.48 | ||||
Target Version | Fixed in Version | ||||
Summary | 0006504: Width of UpDown buttons in TJvCustomSpinEdit does not scale | ||||
Description | The buttons width is calculated as the systems scrollbar width but limited to 15px (hard coded) in JvSpin.DefBtnWidth. This applies to bkClassic and bkStandard. This way the buttons become very narrow, when using a higher scale factor or an output device with high dpi. Suggestions for a solution: 1. Remove the limitation in DefBtnWidth completely (except there is a use case where it is really necessary) 2. Make the limitation value variable with public/protected getter and setter and 15 as default value | ||||
Tags | No tags attached. | ||||
|
High DPI support is very poor in the VCL itself, so it's hard to make it work in the JVCL. That being said, could you check if the issue is still present in the latest GIT content? If yes, please provide the zipped sources of an application showing this. |
|
Is there a need for the 15 px limit? |
|
Another suggestion for this: make 15px for 96 dpi and automaticaly scale the limit according to screen dpi? What to do in multi display scenarios? Use the dpi of the screen the control is on? |
|
Yes and yes :-) |
|
I just created a pull request for a possible solution. I hope it is good enough. |
|
New improved pull request created: https://github.com/project-jedi/jvcl/pull/113 |
|
Fixed in Repository |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-03-31 10:43 | DanielTr | New Issue | |
2018-07-18 15:42 | obones | Note Added: 0021490 | |
2018-07-18 15:42 | obones | Status | new => feedback |
2019-03-11 22:54 | mh | Note Added: 0021644 | |
2019-03-12 22:38 | mh | Note Added: 0021648 | |
2019-04-19 21:30 | jfudickar | Note Added: 0021722 | |
2019-04-24 19:56 | mh | Note Added: 0021732 | |
2019-05-01 10:08 | mh | Note Added: 0021784 | |
2019-05-02 08:33 | jfudickar | Note Added: 0021791 | |
2019-05-02 08:33 | jfudickar | Status | feedback => resolved |
2019-05-02 08:33 | jfudickar | Resolution | open => fixed |
2019-05-02 08:33 | jfudickar | Assigned To | => jfudickar |