Re: [Lazarus] LCL customdraw and LCL fpGUI bug
I'll try apply your patch to Lazarus fixes. If something goes wrong I'll let you know. Em sex, 3 de mai de 2019 às 11:56, Graeme Geldenhuys via lazarus < lazarus@lists.lazarus-ide.org> escreveu: > On 02/05/2019 03:13, Fabio Luis Girardi via lazarus wrote: > > LCL-fpGUI needs some fixes > > > I've just submitted a set of 11 patches for LCL-fpGUI: > >https://bugs.freepascal.org/view.php?id=35478 > > > TLabel finally works. :-) > > > Unfortunately the TMonitor.GetPixelsPerInch() issue is still not fixed. > I manually commented out the code... > > if WidgetSet.GetDpiForMonitor(FHandle, MDT_EFFECTIVE_DPI, X, Y)=S_OK then >... > else > > and only left the "Result = Screen.PixelsPerInch;" call in place. If you > didn't guess, it is a temporary fix. ;-) > > > Regards, > Graeme > > -- > fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal > http://fpgui.sourceforge.net/ > > My public PGP key: http://tinyurl.com/graeme-pgp > -- > ___ > lazarus mailing list > lazarus@lists.lazarus-ide.org > https://lists.lazarus-ide.org/listinfo/lazarus > -- The best regards, Fabio Luis Girardi PascalSCADA Project http://sourceforge.net/projects/pascalscada http://www.pascalscada.com -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] LCL customdraw and LCL fpGUI bug
On 02/05/2019 03:13, Fabio Luis Girardi via lazarus wrote: > LCL-fpGUI needs some fixes I've just submitted a set of 11 patches for LCL-fpGUI: https://bugs.freepascal.org/view.php?id=35478 TLabel finally works. :-) Unfortunately the TMonitor.GetPixelsPerInch() issue is still not fixed. I manually commented out the code... if WidgetSet.GetDpiForMonitor(FHandle, MDT_EFFECTIVE_DPI, X, Y)=S_OK then ... else and only left the "Result = Screen.PixelsPerInch;" call in place. If you didn't guess, it is a temporary fix. ;-) Regards, Graeme -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ My public PGP key: http://tinyurl.com/graeme-pgp -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] LCL customdraw and LCL fpGUI bug
On 02/05/2019 03:13, Fabio Luis Girardi via lazarus wrote: > function TMonitor.GetPixelsPerInch: Integer; > > Tried with Lazarus fixes 2.0.3 with FPC 3.2.0 > > Did I forget anything? Should I report a bug? fpGUI already has that information. I'll take a look at LCL-fpGUI and supply a patch if needed for that. I'll also take a look at the other LCL-fpGUI issues you said appears. The LCL-fpGUI really needs a dedicated developer to get it out of alpha/beta stage. Regards, Graeme -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ My public PGP key: http://tinyurl.com/graeme-pgp -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus