This is a migrated thread and some comments may be shown as answers.

RadDock - Increase docking bar size for touch screen.

3 Answers 125 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Nigel
Top achievements
Rank 1
Nigel asked on 20 Oct 2008, 02:41 PM
Hi,

After a windows docking panel has been docked and a bar has appeared which enables someone to slide the panel back out, it's actually too small for touch screens.  Is there any way I can increase the size of this?

I have my slide bar for a docked panel on the left of the screen but it's too small for a touch screen.  I need a wider bar to allow for fat fingers.  There doesn't appear to be a property to change this.  If this is the case then I may include my own strip with buttons that activate the docking panel behind but this seems a bit cumbersome.

Thanks

3 Answers, 1 is accepted

Sort by
0
Julian Benkov
Telerik team
answered on 23 Oct 2008, 01:28 PM
Hi Nigel,

You can change the size of the Caption Bar of the DockPanels using the Visual Style Builder, and define new Themes for the DockingManager (Dock/DocumentPresenterControl) from there.

Another solution is to change padding of CaptionLayout element:

CaptionLayout element = (CaptionLayout)(dockPanel1.DefaultPresenter as DockPresenterControl).DockPresenterElement.Children[2].Children[0].Children[2]; 
element.Padding = new Padding(0, 5, 0, 5); 


Greetings,
Julian Benkov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Nigel
Top achievements
Rank 1
answered on 23 Oct 2008, 06:47 PM

This didn’t really answer my question.  Sorry, if I was unclear but I wasn’t referring to the caption of the docking panel but the autohide panel. – How do you change this?

0
Julian Benkov
Telerik team
answered on 24 Oct 2008, 11:05 AM
Hello Nigel,

Current edition of the RadDock component does not offer public API for accessing the AutoHidePanel. For our upcoming Q3 release, planned for next month we will make the AutoHidePanel property of DockingManager public, and you can access and change its properties and behavior.

Sorry for the inconvenience and thank you for the feedback.

Sincerely yours,
Julian Benkov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Dock
Asked by
Nigel
Top achievements
Rank 1
Answers by
Julian Benkov
Telerik team
Nigel
Top achievements
Rank 1
Share this question
or