Open MSeifert04 opened 5 years ago
This seems to have happened before, at least for ListView
in #1472. I have created a little repro project that shows this
This is (somewhat recently?) broken for the header of ListView
s as well. Just got a message from a client to restyle a view which I agreed looked uncharacteristically bad in their app. It turns out that the StyleClass
on the Label
elements in the list header are suddenly being ignored.
Description
It seems like styles defined in a css file don't apply to contents of a viewcell in a tableview
Steps to Reproduce
New Mobile Application (Xamarin forms) in Visual Studio then this in the MainPage.xaml:
and this in the Styles/AppStyle.css:
Expected Behavior
Both
Label
with theStyleClass="error"
should have a text-color of red.Actual Behavior
The text in the Label inside the tableview is black.
Basic Information
I haven't actually tested this against multiple devices, just with the one android emulator (on Windows) that I use.
Screenshots