https://kotlinlang.org logo
#doodle
Title
# doodle
n

Nick

03/16/2023, 1:27 AM
Label defaults to fitting its text. You can change that by setting fitText, which lets you decide if it fits its text’s width/height or none. Yes,
foregroundColor
can change the label’s color. But that will be overridden if you’re using. the basicLabelBehavior module, which installs CommonLabelBehavior instances, but passes an override for the foreground color to match the Basic theme. You can use the behavior directly and not set overrides, in which case the label’s property will be used. Or you can create a custom behavior module that doesn’t provide an override.
3 Views