Maui icon indicating copy to clipboard operation
Maui copied to clipboard

StyleId not working for Popups

Open Greg-Bates-Trimble opened this issue 3 years ago • 0 comments

Description

StyleId does not seem to work for any element on a pop up. Not a big issue, just adds an inconsistency for developing my project as we are using CSS for our styling. To get around this I have followed the mct pop up examples and used StaticResource styling. If possible could this be fixed so that both Style and StyleId is supported, thanks.

Steps to Reproduce

  1. Create a Style using CSS. E.g. #black-label { font-size: 18; color: #000000; font-family: OpenSansSemibold; }
  2. Create a pop up view and use the made style on a visual element. E.g. <Label StyleId=black-label Text="Hello World" />
  3. That element will not adjust to the style and renaming with the default properties.

Expected Behavior

Specified StyleId parameters used to update the visual features of the applied to element.

Actual Behavior

Visual Element remains using the default options.

Basic Information

  • Version with issue: 1.2.0
  • Last known good version: NA
  • IDE: Visual Studio Version 17.4.0 Preview 1.0
  • Platform Target Frameworks:
    • iOS:
    • Android:
    • UWP:
  • Android Support Library Version:
  • Nuget Packages:
  • Affected Devices:

Workaround

Use the Style="{StaticResource }"

Reproduction imagery

Greg-Bates-Trimble avatar Aug 30 '22 01:08 Greg-Bates-Trimble