[Qt] Size of OI [Re: AnchorDocking + Sparta basic package with QT]

Martin Frb lazarus at mfriebe.de
Sat Sep 12 14:46:09 CEST 2015


On 12/09/2015 09:06, Juha Manninen wrote:
> Hello
>
> Every QT user please test package
> components/1_spartaBasic/dtx_spartabasic.lpk from the free-sparta
> branch, together with AnchorDocking.
> It implements a docked form editor.
> It works for other testers with QT bindings but not for me. I cannot
> add or select components.
> Maybe depends on QT version. I have Manjaro with KDE 5 Plasma. QT4 is 4.8.7-2.
> I will test with other Linux distros soon.
>

Well for starters, on first start, I get an oversized Object inspector.
Meaning: The object inspector (not docked) is more (maybe 100 to 200 
more) than 1680 pixel in width (1680 = width of my screen)

This is without the above package added, just added anchordocking
Win32 / Vista / 32 bit


What I did:
- checkout branch
- copy Qt4Pas5.dll / 5.2.5.0 into folder
- copy my (win32, not QT / no anchordocking) lazarus.exe into folder
- point lazarus.cfg to new empty primary config path
- start IDE
- set fpc (2.6.4), gdb, ...
- recompile
- launch

And the OI window was that massivly wide.
I have a desktop spanning 2 screens, left screen at -1680 to -1, right 
at 0 to 1679.

After closing IDE, from anchordocking.xml
       <Item2 Name="ObjectInspectorDlg" Type="Control">
         <Bounds Left="-181" Top="212" Width="1910" Height="550">
           <WorkArea>
             <Rect Right="1680" Bottom="1050"/>
           </WorkArea>
         </Bounds>
       </Item2>

Strange though on next start the OI is still that wide, but its left is 
adjusted to the screen (at x=0)









More information about the Qt mailing list