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

Is it possible for a toolbar width to be set to the full row width, but set the icons to the right?

2 Answers 116 Views
ToolBar
This is a migrated thread and some comments may be shown as answers.
Pinho
Top achievements
Rank 1
Pinho asked on 22 Jun 2009, 09:27 AM
Hi,

 I'm using your toolbar and I would like to know if it's possible to set the width of a toolbar to ocuppy the full width of the row and still arrange the icons to the right width a text to the left.

 Current:

 Toolbar usage

 I would like for the toolbar to be expanded so something like this:

Look that I want

Thanks ahead for the support,

L. Pinho



2 Answers, 1 is accepted

Sort by
0
Ivan
Telerik team
answered on 23 Jun 2009, 07:14 PM
Hi Luis,

Thank you for your interest in the RadToolBar.

the current implementation of the RadToolBar does not respects the horizontal alignment. In order to stretch the tollbar you should place it inside a container (panel or grid) and initialize its HorizontalAlignment to Stretch.

About the toolbar's items positioning. All the items are stacked at the left side of the toolbar. As a workaround I suggest that you should use two toolbars placed inside a grid like in the attached example. Please give it a try.

However we planed to implement the alignment support for both the tollbar and its items. We hope this feature will be available soon after the Q2 release.

If you have any other questions about the RadToolBar please do not hesitate to contact us again.

Sincerely yours,
Ivan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Pinho
Top achievements
Rank 1
answered on 26 Jun 2009, 10:28 AM
Hi Ivan,

 unfortunately this doesn't solve the problem, it doesn't look the way I want to. I will wait for your next release.

Thanks anyway,

L. Pinho
Tags
ToolBar
Asked by
Pinho
Top achievements
Rank 1
Answers by
Ivan
Telerik team
Pinho
Top achievements
Rank 1
Share this question
or