Recent

Author Topic: Anchordock Fork  (Read 1927 times)

ChristianH

  • New Member
  • *
  • Posts: 47
Anchordock Fork
« on: April 21, 2020, 09:05:16 pm »
Hi,

I use Lazarus since a while for several smaller and bigger side projects and besides the fact that I love it, especially the anchordock project was some sort if incomplete for my suits. It has several issues with high dpi, especially the minimize button which is way to small and if you felt in love with the minimize function which is part in the Delphi IDE or Visual studio, you definitively miss this feature too.
To make things short the minimize feature has been done 2 years ago and got a bit lost in the bug tracker https://bugs.freepascal.org/view.php?id=34347
It fitted almost all of my needs but the buttons for minimize and close still looked bad.

You find here the approach I use to solve the issue:
https://github.com/TetrisSQC/AnchorDocking

I'm aware that this won't went into the official branch, but I think the one or other might find this useful.

Cheers
Christian

zamtmn

  • Hero Member
  • *****
  • Posts: 650
Re: Anchordock Fork
« Reply #1 on: April 21, 2020, 09:26:55 pm »
Hi!
>>I'm aware that this won't went into the official branch
Do this as a setting so that we can use both we own bitmaps and standard themed icons. Then I think it will appear in the trunk

PascalDragon

  • Hero Member
  • *****
  • Posts: 5909
  • Compiler Developer
Re: Anchordock Fork
« Reply #2 on: April 22, 2020, 10:14:54 am »
You find here the approach I use to solve the issue:
https://github.com/TetrisSQC/AnchorDocking

I'm aware that this won't went into the official branch, but I think the one or other might find this useful.

I think you should open another bug report with your problems and your fixes (or multiple bug reports). This way everyone can benefit from this; for example I did not know that "pinning" and "unpinning" a panel is now possible (just tested it in a trunk Lazarus and oh cool!). Do your changes also fix this HighDPI bug?

By the way: is it by design that I can only “unpin” one panel per side? Take a look at the attached screenshots. If I “unpin” the project inspector panel I can't “unpin” the panel with the code explorer and the components.

ChristianH

  • New Member
  • *
  • Posts: 47
Re: Anchordock Fork
« Reply #3 on: September 05, 2020, 08:56:12 pm »
Yes this is by design. Sorry I just stumbled over your last post at the moment. In the meantime I had fixed a couple of issues in "my" fork. It should run fine now with the latest lazarus build and you can switch between theming and the image based buttons I added for windows. They looked not nice under GTK and stretching the images did not worked like it should under linux.
There was/is also a annoying problem under windows. When you set the ShowInTaskbar Property of your form you also have to set this property in the anchordockmanager.

Christian


 

TinyPortal © 2005-2018