C4F RoundButton content appears on image

83 views Asked by At

Tried adding a Coding4Fun RoundButton to my WP8 XAML. Looked around and copied from samples (i.e. this site), but despite the nice images I see everywhere, the text is displayed on top of my icon: enter image description here

The XAML code is:

<c4f:RoundButton x:Name="buttonShrtn" Click="buttonShrtn_Click" ImageSource="Assets/Images/icon-button-32.png" FontSize="18" Content="Shrtn" VerticalAlignment="Center" HorizontalAlignment="Right"/>

I just can't find a similar case anywhere. Could there be something else in my XAML that can cause this?

1

There are 1 answers

2
Jakub Krampl On BEST ANSWER

You have to use Label instead of Content.

EDIT

RoundToggleButton, RoundButton, OpacityToggleButton, Tile, and ImageTile content property shifted to Label property. (geekchamp)

Toolkit description.