public Toast(string text) { Text(text); _Width = BitmapText.Width + Close.Width + Bg.MarginHor() + MarginHor * 3; _Height = Math.Max(BitmapText.Height, Close.Height) + Bg.MarginVer() + MarginVer * 2; }
public Toast(string text) { Text(text); _Width = BitmapText.Width + Close.Width + Bg.MarginHor() + MarginHor * 3; _Height = Math.Max(BitmapText.Height, Close.Height) + Bg.MarginVer() + MarginVer * 2; }