Changing headerrow size

4 posts, 1 answers
  1. Svein Thomas
    Svein Thomas avatar
    47 posts
    Member since:
    Nov 2010

    Posted 01 Dec 2010 Link to this post

    Hi,

    I tried to figure out how to change the size (height) of the headerrow in a gridview via VSB (Visual style builder).
    But i'm not able to find the place to do this. I read in some other threads that i could do this by code, but i really want to set this by the theme. Can someone guide me to the right place. The other thread said something about a HeaderRowHeight property that i cannot find anyplace. I'm using the latest version (Q3 2010).

    I also want to change the height of the tabs in a tabstrip. 

    I'm using the default-theme as the source of my customization.

    Regards
    Svein Thomas
  2. Answer
    Ivan Petrov
    Admin
    Ivan Petrov avatar
    701 posts

    Posted 01 Dec 2010 Link to this post

    Hello Svein Thomas,

    Thank you for writing.

    For RadGridView you need to set the TableHeaderHeight property of the TableElement to the desired size. If you do not see this property, right-click on the properties and select No Filter in order to see all properties.
    For RadPageView you can set the Top and Bottom Padding values of the TabItem element to the desired values and the tabs will resize themselves accordingly.

    I hope you will find this information useful. If you have further questions, I would be glad to assist you.

    Kind regards,
    Ivan Petrov
    the Telerik team
    Get started with RadControls for WinForms with numerous videos and detailed documentation.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Svein Thomas
    Svein Thomas avatar
    47 posts
    Member since:
    Nov 2010

    Posted 01 Dec 2010 Link to this post

    BTW. I think the Visual Style Builder is not a very good tool for building styles..
    Its slow, and its difficult to find the values I'm looking for. I do not understand the amount of items in the Repository, and this items have similar names.. like margin and padding etc.. 
    You should also make it possible to see the xml behind the style, so we could edit right into the xml.
    The design view should be clickable.. so if i click on an element, the element should be selected in the lefthand list and the properties for this element should show.

    And this property rightclick "No Filter".. well, this is far from intuitive.

    But keep up the good work. I hope you'll make the designer a better next time ;)

    Svein Thomas
  5. Ivan Petrov
    Admin
    Ivan Petrov avatar
    701 posts

    Posted 06 Dec 2010 Link to this post

    Hi Svein Thomas,

    Thank you for your feedback.

    We are constantly trying to improve the VSB performance and usability. But we need to keep the balance between a very powerful tool that has tons of options and one that is easy to understand right from the get go.

    If you want to edit the XML directly, you just need to select File >> Save As and uncheck the "Save as package" checkbox at the bottom of the dialog. The theme will them be saved in XML format for every control you have edited.

    The repository items are there so people can edit things in one place rather than in every control separately. We try to put as much of the styling info in repository items as it is not very easy to look at every element and every state.

    I am glad that your issue was solved. If you have any other issues or feedback do not hesitate to contact us.

    Sincerely yours,
    Ivan Petrov
    the Telerik team
    Get started with RadControls for WinForms with numerous videos and detailed documentation.
Back to Top