Forum > Lazarus Extra Components

Docked editor: cosmetics

(1/2) > >>

wmeyer:
I work every day in Delphi in my job, and have come to prefer the docked editor IDE layout. That said, I am not a huge fan of the cosmetics as I see them on my machine. The images attached show the particular items that bother me, from the Object Inspector and Source Editor windows. I'd be happy to contribute some labor to such things, but am having some difficulty locating the files involved. If anyone could point me in the right direction, I would appreciate it.

Martin_fr:
I am not an expert on the docking package, but maybe this helps.

It is all in components/anchordocking. There are 2 important packages
AnchorDocking.lpk
AnchorDockingDsgn.lpk (in the subfolder design).

The "Dsgn" package is the IDE integration. Adding IDE config and make it run in the IDE.

All the action (and the painting) is in AnchorDocking.lpk

There are only a handful of files. If you search them for "TAnchorDockHeader" you should be getting right were you need to. (I saw some refs in anchordocking.pas).



GetMem:
@wmeyer

--- Quote ---The images attached show the particular items that bother me, from the Object Inspector and Source Editor windows.
--- End quote ---
It's absolutely not clear what is bothering you, but I have an idea. Please go to Tools->Options->Environment->Docking/Anchordocking and play with the Header Style property. Changing the other properties may also helps. Once you find the ideal settings, please go to Tools->Desktops and export the configuration, for future use.

Martin_fr:
Well in his defence, it was clear to me immediately.
The caption text is to close to the "bevel". There is a gap on the left, as it should be. But none on the right. (as he said: cosmetic.)


No idea, if that is a generic issue, or his system only. Maybe its the text-measurement, maybe its the font, maybe it use the wrong handle/dc to measure... Or maybe its the math...

GetMem:
@Martin_fr

--- Quote ---Well in his defence, it was clear to me immediately.
The caption text is to close to the "bevel". There is a gap on the left, as it should be. But none on the right. (as he said: cosmetic.)

--- End quote ---
Thanks Martin! Unfortunately English is not my first language, so I missed that.

Navigation

[0] Message Index

[#] Next page

Go to full version