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

HubTile Font Size

1 Answer 37 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.
Dylan
Top achievements
Rank 1
Dylan asked on 22 Sep 2012, 04:09 AM
Hi,
I've been having trouble adjusting the font size on the front of the regular Hub Tiles. I'm able to change the font sizes on the other tiles (Mosaic, Slide, and Picture Rotator), but when I enter a new font size for Hub Tiles the font size does not change.

Doesn't work
<telerikPrimitives:RadHubTile x:Name="Tile1" Title="{Binding Localizedresources.Tile1, Source={StaticResource LocalizedStrings}}" Height="120" Width="120" ImageSource="Images/Cube.png" Tap="Tile1_Tap" telerikCore:InteractionEffectManager.IsInteractionEnabled="True" FontSize="24" />

Does work
<telerikPrimitives:RadPictureRotatorHubTile x:Name="Tile2" Title="{Binding LocalizedresourcesTile2, Source={StaticResource LocalizedStrings}}" HorizontalAlignment="Left" Margin="4,4,0,8" Height="120" VerticalAlignment="Bottom" Width="250" Tap="Tile2_Tap" telerikCore:InteractionEffectManager.IsInteractionEnabled="True" FontSize="24" >
                                    <system:String>Image1.png</system:String>
                                    <system:String>Imagest2.png</system:String>
                                    <system:String>Imagest3.png</system:String>
                                    <system:String>Images4.png</system:String>
                                    <system:String>Images5.png</system:String>
                                    <system:String>Images6.png</system:String>
                                </telerikPrimitives:RadPictureRotatorHubTile>

Thanks,
Dylan

1 Answer, 1 is accepted

Sort by
0
Dylan
Top achievements
Rank 1
answered on 26 Sep 2012, 07:03 PM
Solved it. 
<telerikPrimitives:RadHubTile x:Name="Tile1"  ImageSource="Image1.png" Height="120" Width="120" >
                                    <telerikPrimitives:RadHubTile.Title>
                                        <Border Background="{StaticResource PhoneAccentBrush}">
                                            <RichTextBox Width="120" Foreground="White" FontSize="20" Margin="-12,0,0,-1" TextWrapping="NoWrap">
                                                <Paragraph>
                                                    <Run Text="Text"/>
                                                </Paragraph>
                                            </RichTextBox>
                                        </Border>
                                    </telerikPrimitives:RadHubTile.Title>
                                </telerikPrimitives:RadHubTile>
Tags
HubTile
Asked by
Dylan
Top achievements
Rank 1
Answers by
Dylan
Top achievements
Rank 1
Share this question
or