• R/O
  • HTTP
  • SSH
  • HTTPS

AppliStation: Commit

AppliStation


Commit MetaInfo

Révision15336123ad17e65cb287639b4a31b5c69c3aa1c6 (tree)
l'heure2017-07-09 23:41:52
Auteurttp <ttp@user...>
Commiterttp

Message de Log

AppliStation, OptionDialog のサイズ感の修正

Change Summary

Modification

--- a/AppliStation/AppliStation.Util/OptionDialog.cs
+++ b/AppliStation/AppliStation.Util/OptionDialog.cs
@@ -55,7 +55,7 @@ namespace AppliStation.Util
5555 set {
5656 iconPictureBox.Image = value;
5757 if (value != null) {
58- iconPictureBox.Size = new Size(32, 32);
58+ iconPictureBox.Size = iconPictureBox.Image.Size;
5959 } else {
6060 iconPictureBox.Size = new Size(0, 0);
6161 }
@@ -138,9 +138,9 @@ namespace AppliStation.Util
138138 button.Text = labelData[0];
139139 if (labelData.Length > 1 && !string.IsNullOrEmpty(labelData[1])) {
140140 ((CommandLinkButton) button).Note = labelData[1];
141- button.Size = new Size(defaultButtonWidth, 58);
141+ button.Size = new Size(defaultButtonWidth, 68);
142142 } else {
143- button.Size = new Size(defaultButtonWidth, 41);
143+ button.Size = new Size(defaultButtonWidth, 72);
144144 }
145145
146146 this.Content.Add(button);
Afficher sur ancien navigateur de dépôt.