You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The same Compose widget displays differently in Compose Desktop and Storytale:
// Compose Desktopfunmain() = application {
Window(
onCloseRequest = ::exitApplication,
title ="Example"
) {
TextField(
value ="ABCDEFG",
onValueChange = {},
isError =true,
supportingText = { Text("This is a supporting text!") }
)
}
}
Display:
// Storytaleval `TextFieldStory` by story {
TextField(
value ="ABCDEFG",
onValueChange = {},
isError =true,
supportingText = { Text("This is a supporting text!") }
)
}
Display:
The SupportingText colors of the two are different. The expected color is red, but the actual color is black.
Also, specifying TextFieldDefaults.colors() in the TextField has no effect either, all colors remain as they are.
The text was updated successfully, but these errors were encountered:
Thank you for the report, this is because Storytale currently uses a separate Theme for the Gallery App, but does not apply the MaterialTheme to the story component
Thank you for the report, this is because Storytale currently uses a separate Theme for the Gallery App, but does not apply the MaterialTheme to the story component
Explicitly specifying the colors doesn't work either, is this for the same reason?
val `TextFieldStory` by story {
TextField(
value ="ABCDEFG",
onValueChange = {},
colors =TextFieldDefaults.colors(
focusedTextColor =Color.Red,
unfocusedTextColor =Color.Red
)
)
}
The same Compose widget displays differently in
Compose Desktop
andStorytale
:Display:
Display:
The
SupportingText
colors of the two are different. The expected color is red, but the actual color is black.Also, specifying
TextFieldDefaults.colors()
in theTextField
has no effect either, all colors remain as they are.The text was updated successfully, but these errors were encountered: