[Lazarus] How to stop the ChildSizing?

2020-06-11 Thread Martin Grajcar via lazarus
There's a TPage containing a few components I want to position and size manually (sort of position: 'absolute' in CSS). It works well, but then the LCL comes and overrides my work I've played with Anchors, AutoSize and Align of both the parent (TPage) and child components for quite a while, bu

Re: [Lazarus] Gtk2 ExtTextOut internal helper is slow

2020-06-11 Thread Martin Frb via lazarus
On 11/06/2020 16:20, Alexey Tor. via lazarus wrote: to call ExtTextOut() 20 times with the same x/y/s ? so I suggest to del checks - just call pango_layout_set_text and that's it. I do not know if this is related. But test your changes with Synedit extra-char-width. You can set the extra cha

[Lazarus] Gtk2 ExtTextOut internal helper is slow

2020-06-11 Thread Alexey Tor. via lazarus
gtk2devicecontext.inc procedure SetLayoutText(ALayout: PPangoLayout; AText: PChar; ALength: PtrInt); var   OldStr: PChar; begin   OldStr := pango_layout_get_text(ALayout);   if (strlen(OldStr)<>ALength) or (strlcomp(AText, OldStr, ALength) <> 0) then     pango_layout_set_text(ALayout, AText, A

Re: [Lazarus] WinCE widgetset implementation of TCustomListbox.SelectRange: testers needed.

2020-06-11 Thread Sven Barth via lazarus
Am 11.06.2020 um 12:59 schrieb Bart via lazarus: On Thu, Jun 11, 2020 at 12:25 PM Sven Barth via lazarus wrote: Had to dust off my old Windows Mobile phone for this and get Windows Mobile Device Center working on Windows 10, but yes, it works as on Windows. :) (boy, that took me back ^^') Tha

Re: [Lazarus] WinCE widgetset implementation of TCustomListbox.SelectRange: testers needed.

2020-06-11 Thread Bart via lazarus
On Thu, Jun 11, 2020 at 12:25 PM Sven Barth via lazarus wrote: > Had to dust off my old Windows Mobile phone for this and get Windows > Mobile Device Center working on Windows 10, but yes, it works as on > Windows. :) (boy, that took me back ^^') Thanks for testing and reporting back. AFAIK we d

Re: [Lazarus] WinCE widgetset implementation of TCustomListbox.SelectRange: testers needed.

2020-06-11 Thread Sven Barth via lazarus
Am 10.06.2020 um 12:12 schrieb Bart via lazarus: Hi, Can somebody please test the changes I made to the widgetset implementation of TCustomListBox.SelectRange for the WinCE widgetset in r63339. . It compiles and in theory it should work, but I cannot test this. Methods to test: TCustomListBox.S