AC15.04 Scaling issue Root › Technical support › Troubleshooting This topic has 8 replies, 4 voices, and was last updated 4 years, 7 months ago by Support. Viewing 9 posts - 1 through 9 (of 9 total) Author Posts March 7, 2020 at 4:54 pm #68564 LasseParticipant Arrow loses its tip after PPI is greater than 144. Some combo boxes show it correctly thou. Attachments:You must be logged in to view attached files. March 9, 2020 at 1:17 am #68576 sergunalphaKeymaster This issue will be solved in the nearest release. March 21, 2020 at 5:43 pm #68592 LasseParticipant Another scaling issue in TsComboBox Attachments:You must be logged in to view attached files. March 21, 2020 at 5:47 pm #68594 LasseParticipant Also I noticed in sCommonData.pas unit and function ScaleInt those Value * PPI div 96 should be MulDiv(Value, PPI, 96). For example 11 * 120 div 96 = 13 but MulDiv(11, 120, 96) = 14. March 25, 2020 at 11:18 pm #68611 SupportKeymaster Interesting. Why 14? Correct value is 13? I didn’t knew about a difference between these two ways. I will research it and the issue with ComboBox scaling too. March 26, 2020 at 1:13 am #68618 Stephane SenecalParticipant 11 * 120 = 1320 1320 / 96 = 13.75 Round(13.75) = 14 Stephane Senecal CIS Group Delphi programmer since 2001 March 28, 2020 at 1:11 pm #68634 LasseParticipant Yes, 1320 div 96 = 13. March 28, 2020 at 7:44 pm #68635 LasseParticipant If you take a look at any ChangeScale procedure in Vcl (TControl, TWinControl, etc.), all of them are using MulDiv. March 29, 2020 at 7:58 am #68642 SupportKeymaster Interesting. It means that MulDiv works using a floating point calculations (slower). I will think where to use it instead of “*” and “div”. Author Posts Viewing 9 posts - 1 through 9 (of 9 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In Root › Technical support › Troubleshooting