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

Updating the font size of the Title

1 Answer 69 Views
HubTile
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Varghese
Top achievements
Rank 1
Varghese asked on 14 Sep 2013, 10:14 PM
I'm able to change the fontsize of the counter of a radhubtile, but I can't change the fontsize of the title. Here is the code I have used:

<Style TargetType="telerikPrimitives:RadHubTile">
    <Setter Property="FontSize" Value="9"></Setter>
</Style>

1 Answer, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 18 Sep 2013, 11:12 AM
Hello Varghese,

Thank you for writing.

The font size of the Title and the font size of the Count are different and applying a new font size through style changes only the font size of the Count as you have correctly observed.

If you need to change the size of another element of the hub tile, you need to edit its ControlTemplate.

You can easily extract the default style by choosing Edit Template -> Edit a Copy after you right-click the HubTile in VisualStudio's designer. Then you can locate the element named "PART_Title" in the extracted style and change its properties according to your preferences.

I hope this information helps.
 
Regards,
Todor
Telerik
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
Tags
HubTile
Asked by
Varghese
Top achievements
Rank 1
Answers by
Todor
Telerik team
Share this question
or