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

Changing headerrow size

3 Answers 56 Views
Themes and Visual Style Builder
This is a migrated thread and some comments may be shown as answers.
Svein Thomas
Top achievements
Rank 1
Svein Thomas asked on 01 Dec 2010, 11:15 AM
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

3 Answers, 1 is accepted

Sort by
0
Accepted
Ivan Petrov
Telerik team
answered on 01 Dec 2010, 02:05 PM
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.
0
Svein Thomas
Top achievements
Rank 1
answered on 01 Dec 2010, 02:27 PM
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
0
Ivan Petrov
Telerik team
answered on 06 Dec 2010, 11:22 AM
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.
Tags
Themes and Visual Style Builder
Asked by
Svein Thomas
Top achievements
Rank 1
Answers by
Ivan Petrov
Telerik team
Svein Thomas
Top achievements
Rank 1
Share this question
or