DockPanels default placement in tabs

StatusIDPriorityType
Closed24335MinorQuestion
ProfileReply
tiborbaloghClient

When I add two DockPanels with "Bottom" DockingStyle setting, they appear vertically splitted.
Is it possible to add 2 or more dockpanels to a Tabbed Container (instead of splitted) by default?
Can I somehow set TabsPosition to Top as default ?

Thank you,

Best regards,
Tibor

Replies

UserDescriptionPosted On
Sasha (Xafari Support)Client

Hello Tibor,

 

When I add two DockPanels with "Bottom" DockingStyle setting, they appear vertically splitted.

Please, give us additional information about this problem. Where do you want to arrange these DochkPanels?

Is it possible to add 2 or more dockpanels to a Tabbed Container (instead of splitted) by default?
Can I somehow set TabsPosition to Top as default?

You can see attached video TabContainerDP.zip. If you mean the behavior on the video, please let us know, or add your screenshot (video) and we will try to help you.

 

Regards, Sasha.

Attached files:
tiborbalogh

Hi Sasha,

Thank you for your video.
This is exactly we would like to have as a Default behavior. Is there any way to configure this behavior as Default, by setting it in the application model?

Tibor

tiborbalogh

For the position of tabs, I have written a controller that moves all tabs to the top of the content.
I would like to ask that is there a better solution for that?

Sasha (Xafari Support)Client

Hi Tibor,

All changes 'Layout' are stored in the user Model, until user changes location the DockPanels or Containers.
You can move the settings in a project's Model and save the changes.
How to move a settings in project's Model you can see in attached video (MoveSettings.zip).
Special settings in Model our Framework Xafari does not have, because this behavior for DochkPanels did not actual.
But we can add this setting in future Xafari versions.

Please, give us additional info about your DockPanelViewController, does this controller change position of tabs in your project?

Let me know if you need further assistance.

Regards, Sasha.

Attached files:
Sasha (Xafari Support)Client

Hello Tibor,

If you want to move all tabs to the top of the content, you can run your project with the DockPanelViewController and next step make settings in your Model (like attached above video or your other method) and save the settings.

After the manipulation, you can remove or disable the DockPanelViewController.

Feel free to contact us if you have any questions.
Thanks, Sasha.

tiborbalogh

Hi Sasha,

DockPanelViewController was just a quick solution for placing tabs to the top, but setting it in the Application model editor would be a nice feature (in the future :) ).
Thank you for the detailed videos, my problems are solved :)

Kind regards,
Tibor

Sasha (Xafari Support)Client

We will consider the possibility of extending the Model for DockPanels.

You're welcome)

× This ticket is closed.

Write US