[Lazarus] Alternative component palette layout
zeljko
zeljko at holobit.net
Mon Dec 22 10:05:46 CET 2014
On 12/22/2014 12:29 AM, Juha Manninen wrote:
> On Sun, Dec 21, 2014 at 5:27 PM, zeljko <zeljko at holobit.net> wrote:
>> What could be exact bug with Qt ? Any example project ?
>> What is exactly affected ?
>
> My main suspect now is line :
> TabControl.Pages.Move(TabIndex, Pal.fVisiblePageIndex);
> in TComponentPage.InsertVisiblePage. It moves an exising tab to its
> new position.
> I noticed that the missing tabs are always the ones that existed
> before doing import. Thus they are not inserted but moved.
> New tabs are inserted :
> TabControl.Pages.Insert(Pal.fVisiblePageIndex, PageName);
> but it apparently causes no problems.
hmm...it works fine here, but anyway, I've changed tabMove a bit, patch
is attached, so pls test if it's ok now.
zeljko
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qttabwidget_move.diff
Type: text/x-patch
Size: 3267 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20141222/a7cdb8c1/attachment-0003.bin>
More information about the Lazarus
mailing list