<div dir="ltr">Hello Juha,<div>I've implemented (auto) resize of Components list columns.</div><div><br></div><div>Please review attached patch and apply if OK.</div><div><br></div><div>Sandro</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 28 December 2014 at 21:11, Juha Manninen <span dir="ltr"><<a href="mailto:juha.manninen62@gmail.com" target="_blank">juha.manninen62@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Sun, Dec 28, 2014 at 1:08 PM, zeljko <<a href="mailto:zeljko@holobit.net">zeljko@holobit.net</a>> wrote:<br>
> I'm against such workarounds since it can hide bug. Is it enough to comment<br>
> code LCLQt to completely disable LCLQt ifdef ?<br>
> I'll try to debug and see what exactly happens, since it's impossible to<br>
> reproduce it with simple example project.<br>
<br>
</span>I already thought I spotted the error and I almost opened a bug<br>
report. Unneeded pages are deleted like :<br>
Application.ReleaseComponent(Sheet);<br>
I could reproduce the error in a small test project and then fix it using :<br>
TabControl := TCustomTabControl(PageControl1);<br>
TabControl.Pages.Delete(0);<br>
But ... I tried to use it in the component palette code and it didn't<br>
work. I am puzzled and will not touch this issue for a while.<br>
<br>
TPageControl API sucks badly.<br>
TPageControl inherits from TCustomTabControl. They both have "Pages"<br>
but with different meaning. There is Pages[] and Page[].<br>
I think it should be fixed even if it breaks Delphi compatibility.<br>
<br>
Anyway, the palette reordering works pretty much perfectly now!<br>
Giuliano made a workaround for the QT issue and I fixed a last<br>
remaining bug related to saving the configuration.<br>
Please everybody test and create alternative palette layouts.<br>
<span class="HOEnZb"><font color="#888888"><br>
Juha<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
--<br>
_______________________________________________<br>
Lazarus mailing list<br>
<a href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a><br>
<a href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus" target="_blank">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a><br>
</div></div></blockquote></div><br></div>