Types/ImageStyleSpecification
Extension of Types/StyleSpecification.
Style specification type: image_style
Optional properties
Inherits all properties from Types/StyleSpecification.
graphical_set
Type: ElementImageSet
stretch_image_to_widget_size
Type: bool
Example
data.raw["gui-style"]["default"]["stretchy-sprite"] = {
type = "image_style",
vertically_stretchable = "on",
horizontally_stretchable = "on",
stretch_image_to_widget_size = true,
}