Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2009-11

DockSite example updated

6 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Hans-Peter Diettrich

In order to unify drag/dock accross platforms, I added an pin grabber to the dockable forms. That icon also could be placed into a window title bar...

The View forms now are freely dockable and undockable.

All forms are minimized when the main form is minimized, using uMiniRestore. Now I also hit the "parameter" error, dunno why everything compiled before. This feature doesn't work properly on Linux - the forms move back to their original location :-(

Any further comments?

DoDi

Reply by email

Mattias Gärtner
to Hans-Peter Diettrich

Zitat von Hans-Peter Diettrich :

Show quoted text 12 lines
In order to unify drag/dock accross platforms, I added an pin grabber to the dockable forms. That icon also could be placed into a window title bar... The View forms now are freely dockable and undockable. All forms are minimized when the main form is minimized, using uMiniRestore. Now I also hit the "parameter" error, dunno why everything compiled before. This feature doesn't work properly on Linux - the forms move back to their original location :-( Any further comments?

I tested elasticsite/SiteTest under gtk2:

There is a caption behind the lower splitter - you can see the pixels of the letters. Feature or bug?

When moving the left splitter to the right, the window enlarges to the right. Feature or bug?

Moving the right splitter to the left, enlarges the window to the right. Bug or feature?

Using the statusbar drag area to enlarge, does not enlarge the first time. The window shrinks back to the first size. Further drags enlarges/shrinks the window. Bug or feature?

Mattias

Reply by email

Juha Manninen
to Hans-Peter Diettrich: In order to unify drag/dock accross platforms, I added an pin grabber to the dockable…
Hans-Peter Diettrich wrote 12 lines
In order to unify drag/dock accross platforms, I added an pin grabber to the dockable forms. That icon also could be placed into a window title bar... The View forms now are freely dockable and undockable. All forms are minimized when the main form is minimized, using uMiniRestore. Now I also hit the "parameter" error, dunno why everything compiled before. This feature doesn't work properly on Linux - the forms move back to their original location :-( Any further comments?

Works for QT widgets, too. The problems are not bigger than with GTK2 version I think.

Juha

Reply by email

Hans-Peter Diettrich
to Hans-Peter Diettrich: In order to unify drag/dock accross platforms, I added an pin grabber to the dockable…

The second last update adds virtualization to the DockSite example. In uMakeSite you find an TMasterSite component, that allows to add elastic docksites and docking capability to any form. These methods shall allow to make the IDE dockable, with minimal impact on the existing IDE forms.

In the last round the application layout shall become persistent.

DoDi

Reply by email

Mattias Gaertner
to Hans-Peter Diettrich
Show quoted text 7 lines
The second last update adds virtualization to the DockSite example. In uMakeSite you find an TMasterSite component, that allows to add elastic docksites and docking capability to any form. These methods shall allow to make the IDE dockable, with minimal impact on the existing IDE forms. In the last round the application layout shall become persistent.

Great.
I hope, it will restore the current layout together with my closed windows. For example, if I close my docked debug output window, then restart the IDE and open the debug output window, it will be docked again.

Mattias

Reply by email