-
-
Notifications
You must be signed in to change notification settings - Fork 144
Description
What is the request?
I like the scrolling_label feature, but it does not behave well when the label size is smaller than the value defined in max_field_size.
Why is it useful?
In the media widget, label_padding and even thumbnail_padding are ignored when scrolling_label is enabled with style: 'left' or 'right'. When the label text is shorter than max_field_size, it stretches to the full width of the thumbnail, which looks visually incorrect.
I suggest adding support for at least one of these padding options when the label is shorter than max_field_size. Ideally, I would also prefer the padding to remain applied while the text is scrolling, similar to how it works with style: 'bounce' and 'bounce-ease'.
Maybe this could be controlled with an additional option that enables or disables padding for style: 'left' and 'right'.
How could it be implemented?
No response
Additional context
No response