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 Jul 26, 2017
1 parent 9fb4c45 commit d8e81c7
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 d8e81c7

Please sign in to comment.