Skip to content

Commit

Permalink
GUI2/Image: added scaled-to-size definition
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Jun 19, 2017
1 parent bea9c27 commit c38d3d8
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions data/gui/widget/image_default.cfg
Expand Up @@ -68,4 +68,19 @@

[/image_definition]

[image_definition]
id = "scaled_to_size"
description = "an image."

{_GUI_RESOLUTION (
name = "(text)"
x = 0
y = 0
w = "(width)"
h = "(height)"
resize_mode = "scale"
)}

[/image_definition]

#undef _GUI_RESOLUTION

0 comments on commit c38d3d8

Please sign in to comment.