Fix a crash in toolbox control icons generation.
[DEVELOPMENT ENVIRONMENT] * BUG: Fix a crash in toolbox control icons generation.
This commit is contained in:
parent
ac91967c36
commit
e3a7d38597
@ -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
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user