Close Button query

3 posts, 1 answers
  1. Kenneth Jackson
    Kenneth Jackson avatar
    60 posts
    Member since:
    Dec 2007

    Posted 30 Aug 2009 Link to this post

    I've recently tested the new raddock and the code for pretty much all operations is so much simpler that it really is a complete pleasure to use. However there is one thing that I got an example from off these forums some months ago that for some reason (I assume some simple oversight of mine) I cannot duplicate.

    That is to add a close button(or any button) to a tab on the right side of said tab.
    I can add the button no problem (with alot less code than before \o/)
     - correct size etc but for some reason it always aligns the button left.

    I'm quite certain I'm missing something simple but for some reason can't figure it out.

    Thanks in advance
  2. Answer
    Nikolay
    Admin
    Nikolay avatar
    1803 posts

    Posted 02 Sep 2009 Link to this post

    Hello Kenneth Jackson,

    I suppose that you want to place a RadButtonElement in a tab of a ToolWindow. If so, please notice that the tab layout of the ToolTabStrip is inverted, so you need to set the Alignment to BottomLeft in order to set the button to the right side in a tab item.

    I am attaching a sample project which demonstrates this approach. If you have additional questions, feel free to contact me.

    Kind regards,
    Nikolay
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Kenneth Jackson
    Kenneth Jackson avatar
    60 posts
    Member since:
    Dec 2007

    Posted 02 Sep 2009 Link to this post

    Perfect , thank you.
Back to Top