Re: [Lazarus] Lazarus 2.0 returning inconsistent formatted results of DateTimeToStr?
On Tue, 12 Mar 2019, Joe via lazarus wrote: The DateTimeToStr function returns somewhat inconsistent formatted results, depending on the operating system. For "DateTimeToStr (now, DefaultFormatSettings)" - under Windows 10 (64), I got "12-03-2019 21:35:50" - under Linux Mint Sarah, I got "12-3-19 21:35:50" - under Raspbian Stretch, i got "12-3-19 21:35:50" The Language Switch of the IDE, Tools -> Options ... -> General -> Language, was set to "German [de]". This is normal. The operating system settings are used, not the IDE language settings. For Linux OS settings to be initialized correctly, you should add the 'clocale' unit to your program's uses clause. Michael.-- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
[Lazarus] Lazarus 2.0 returning inconsistent formatted results of DateTimeToStr?
The DateTimeToStr function returns somewhat inconsistent formatted results, depending on the operating system. For "DateTimeToStr (now, DefaultFormatSettings)" - under Windows 10 (64), I got "12-03-2019 21:35:50" - under Linux Mint Sarah, I got "12-3-19 21:35:50" - under Raspbian Stretch, i got "12-3-19 21:35:50" The Language Switch of the IDE, Tools -> Options ... -> General -> Language, was set to "German [de]". -- Joe -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] VirtualTreeView rendering on Cocoa
On 12/03/2019 07:36, Andrea Mauri via lazarus wrote: > well defined, quite blurry with respect to the other component (labels > fonts, images...). > Why? It looks like VirtualTreeView is not Hi-DPI aware. Just a guess, but it seems that it is generating the treeview rendering on a internal image buffer (not hi-dpi sized), and then when blitting that to the actual window canvas, the image gets scaled - hence the pixelation. I didn't actually look at the the virtualtree code (it is *massive*), but what I described is a common problem with custom drawn components. Regards, Graeme -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
[Lazarus] VirtualTreeView rendering on Cocoa
Dear All, I noticed that text and images drawn in VirtualTreeView using Cocoa are not well defined, quite blurry with respect to the other component (labels fonts, images...). Why? There is something that can be done to draw properly on Virtualtreeview too? See attached image of the OnlinePakcageManager. Thanks in advance. Andrea I am using Lazarus trunk, 2.1.0 r60622M FPC 3.0.4 x86_64-darwin-cocoa (alpha) I posted the same question on forum here: http://forum.lazarus.freepascal.org/index.php/topic,44599.0.html -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus