AppliStation
修订版 | 15336123ad17e65cb287639b4a31b5c69c3aa1c6 (tree) |
---|---|
时间 | 2017-07-09 23:41:52 |
作者 | ttp <ttp@user...> |
Commiter | ttp |
AppliStation, OptionDialog のサイズ感の修正
@@ -55,7 +55,7 @@ namespace AppliStation.Util | ||
55 | 55 | set { |
56 | 56 | iconPictureBox.Image = value; |
57 | 57 | if (value != null) { |
58 | - iconPictureBox.Size = new Size(32, 32); | |
58 | + iconPictureBox.Size = iconPictureBox.Image.Size; | |
59 | 59 | } else { |
60 | 60 | iconPictureBox.Size = new Size(0, 0); |
61 | 61 | } |
@@ -138,9 +138,9 @@ namespace AppliStation.Util | ||
138 | 138 | button.Text = labelData[0]; |
139 | 139 | if (labelData.Length > 1 && !string.IsNullOrEmpty(labelData[1])) { |
140 | 140 | ((CommandLinkButton) button).Note = labelData[1]; |
141 | - button.Size = new Size(defaultButtonWidth, 58); | |
141 | + button.Size = new Size(defaultButtonWidth, 68); | |
142 | 142 | } else { |
143 | - button.Size = new Size(defaultButtonWidth, 41); | |
143 | + button.Size = new Size(defaultButtonWidth, 72); | |
144 | 144 | } |
145 | 145 | |
146 | 146 | this.Content.Add(button); |