Microsoft.Maui.Graphics.Controls icon indicating copy to clipboard operation
Microsoft.Maui.Graphics.Controls copied to clipboard

[Bug] Button doesn't display ImageSource

Open davidortinau opened this issue 4 years ago • 3 comments

I have some buttons with icon fonts for the image source and the label. In neither case do they display.

image

<Label Text="Primary filled"/>
                <StackLayout Orientation="Vertical">
                    <Button Text="Button"/>
                    <Button Text="Button" IsEnabled="False"/>
                </StackLayout>

                <VerticalStackLayout>
                    <Button ImageSource="{StaticResource CircleIcon}" Text="Button"/>
                    <Button ImageSource="{StaticResource CircleIcon}" Text="Button" IsEnabled="False"/>
                </VerticalStackLayout>

                <VerticalStackLayout>
                    <Button FontFamily="FontAwesome"
                            Text="{x:Static app:IconFont.Archway}"/>
                    <Button FontFamily="FontAwesome"
                            Text="{x:Static app:IconFont.Archway}"
                            IsEnabled="False"/>
                </VerticalStackLayout>

Build 9.217 Fluent

davidortinau avatar Oct 14 '21 20:10 davidortinau

For now, is expected because the ImageSource and font Icons are not implemented. We definitely have to implement this.

jsuarezruiz avatar Oct 15 '21 07:10 jsuarezruiz

Hi @jsuarezruiz, Are you currently working on this implementation? 🙂

bricefriha avatar Nov 11 '21 13:11 bricefriha

I have it in queue, but not right now.

jsuarezruiz avatar Nov 13 '21 09:11 jsuarezruiz