diff --git a/src/source/view/controls/Button.bs b/src/source/view/controls/Button.bs index eb6197fa..5b449b86 100644 --- a/src/source/view/controls/Button.bs +++ b/src/source/view/controls/Button.bs @@ -238,7 +238,7 @@ namespace mv.controls else if iconPosition = "left" labelSize[0] = mc.clamp(w - (labelTranslation[0] * 2) - iconSize[0], 0, w) subTextLabelSize[0] = mc.clamp(w - (subTextLabelTranslation[0] * 2), 0, w) - subTextLabelSize[0] = [iconTranslation[0] + iconSize[0], subTextLabelSize[1]] + subTextLabelSize = [iconTranslation[0] + iconSize[0], subTextLabelSize[1]] labelTranslation = [iconTranslation[0] + labelTranslation[0] + iconSize[0], labelTranslation[1]] else if iconPosition = "right"