HubTile Font Size

2 posts, 0 answers
  1. Dylan
    Dylan avatar
    2 posts
    Member since:
    Feb 2012

    Posted 21 Sep 2012 Link to this post

    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
  2. Dylan
    Dylan avatar
    2 posts
    Member since:
    Feb 2012

    Posted 26 Sep 2012 Link to this post

    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>
  3. DevCraft banner
Back to Top