Recent

Author Topic: qt5 built IDE wrecks form designer  (Read 505 times)

LeoBruno

  • New Member
  • *
  • Posts: 45
qt5 built IDE wrecks form designer
« on: July 16, 2022, 04:27:36 pm »
HI:

I built lazarus IDE with qt5 in order to get dark ide theme on Windows following the tip found here: https://forum.lazarus.freepascal.org/index.php/topic,55550.msg435622.html#msg435622

After that, the top and bottom of the form designer became wrecked:

The top area is cut and there is a section bellow the bottom area.

What I mean is:

If I align a control to the top, only part of the control shows up.

If I align a control to the bottom, it does not touch the bottom limit of the form.

This only happens at design time

I have attached 2 images to depict this issue

Any tips on how to solve this?

Thanks in advance!
Lazarus 2.2.2 FPC 3.2.2 Windows (qt5) Anchor Docking

zeljko

  • Hero Member
  • *****
  • Posts: 1264
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: qt5 built IDE wrecks form designer
« Reply #1 on: July 18, 2022, 09:17:50 am »
Does it work ok without dark theme ? Seem that designer form clientrect is offsetted by tabbar.

LeoBruno

  • New Member
  • *
  • Posts: 45
Re: qt5 built IDE wrecks form designer
« Reply #2 on: July 18, 2022, 10:46:32 pm »
Hi:

I tested without the dark theme and the issue seems to have something to do with docked forms packages.

I used the qt5dll contained on this link https://disk.yandex.ru/d/_LWZvwTJG0x7vw

Before the installation of docked forms (AnchorDocking 1.0, AnchorDockingDsgn 1.0 and sparta_DockedFormEditor 0.0) the form editor was fine.

I attached a print
Lazarus 2.2.2 FPC 3.2.2 Windows (qt5) Anchor Docking

LeoBruno

  • New Member
  • *
  • Posts: 45
Re: qt5 built IDE wrecks form designer
« Reply #3 on: July 18, 2022, 10:55:57 pm »
The issue is for sure, related with sparta_docked forms:

After uninstalling it and installed the "DockedFormEditor 0.0", it´s working fine.

Lazarus 2.2.2 FPC 3.2.2 Windows (qt5) Anchor Docking

PascalDragon

  • Hero Member
  • *****
  • Posts: 4311
  • Compiler Developer
Re: qt5 built IDE wrecks form designer
« Reply #4 on: July 19, 2022, 08:43:58 am »
The issue is for sure, related with sparta_docked forms:

The Sparta one isn't recommended anymore anyway and has even been removed in Trunk.

 

TinyPortal © 2005-2018