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

3 posts, 0 answers
  1. Pinho
    Pinho avatar
    42 posts
    Member since:
    Mar 2009

    Posted 22 Jun 2009 Link to this post

    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. Ivan
    Admin
    Ivan avatar
    519 posts

    Posted 23 Jun 2009 Link to this post

    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.
  3. DevCraft banner
  4. Pinho
    Pinho avatar
    42 posts
    Member since:
    Mar 2009

    Posted 26 Jun 2009 Link to this post

    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
Back to Top