Commit e3a7d385 authored by Benoît Minisini's avatar Benoît Minisini

Fix a crash in toolbox control icons generation.

[DEVELOPMENT ENVIRONMENT]
* BUG: Fix a crash in toolbox control icons generation.
parent ac91967c
......@@ -128,7 +128,7 @@ Static Public Sub GetIcon(sClass As String, sComp As String, Optional iSize As I
Endif
If iSize Then
If hImage.Width <> iSize Then hImage = Image.Stretch(iSize, iSize)
If hImage.Width <> iSize Then hImage = hImage.Stretch(iSize, iSize)
Endif
If Application.DarkTheme Then hImage = hImage.Invert(True)
......
......@@ -16,7 +16,7 @@
Spacing = True
{ btnUndo Button
MoveScaled(1,0,16,4)
Text = ("Revert")
Text = ("Reset")
Picture = Picture["icon:/small/undo"]
}
{ Spring1 Spring
......@@ -29,7 +29,8 @@
}
{ btnCancel Button
MoveScaled(43,0,16,4)
Text = ("Cancel")
Text = ("Close")
Picture = Picture["icon:/small/close"]
Cancel = True
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment