Added textures dimensions and made image autosizer more logical
This commit is contained in:
parent
fd52928ff9
commit
9f33997638
@ -138,6 +138,8 @@
|
||||
//
|
||||
this.textureList.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.textureList.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Suggest;
|
||||
this.textureList.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
|
||||
this.textureList.Enabled = false;
|
||||
this.textureList.FormattingEnabled = true;
|
||||
this.textureList.Location = new System.Drawing.Point(16, 209);
|
||||
@ -155,7 +157,7 @@
|
||||
this.ThumbImage.MinimumSize = new System.Drawing.Size(220, 201);
|
||||
this.ThumbImage.Name = "ThumbImage";
|
||||
this.ThumbImage.Size = new System.Drawing.Size(220, 201);
|
||||
this.ThumbImage.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
||||
this.ThumbImage.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
||||
this.ThumbImage.TabIndex = 8;
|
||||
this.ThumbImage.TabStop = false;
|
||||
//
|
||||
@ -228,7 +230,7 @@
|
||||
this.openmapButton.Name = "openmapButton";
|
||||
this.openmapButton.Size = new System.Drawing.Size(220, 39);
|
||||
this.openmapButton.TabIndex = 13;
|
||||
this.openmapButton.Text = "Open map";
|
||||
this.openmapButton.Text = "Open other map";
|
||||
this.openmapButton.UseVisualStyleBackColor = true;
|
||||
this.openmapButton.Click += new System.EventHandler(this.openmapButton_Click);
|
||||
//
|
||||
|
@ -195,6 +195,7 @@ namespace GiantsMapTextureChanger
|
||||
if (this.all_textures.ContainsKey(selected)) {
|
||||
ThumbImage.Image = this.all_textures[selected];
|
||||
ThumbImage.Tag = selected;
|
||||
toolStripStatusLabel1.Text = selected + ": " + this.all_textures[selected].Width + "x" + this.all_textures[selected].Height;
|
||||
}
|
||||
}
|
||||
|
||||
@ -227,6 +228,7 @@ namespace GiantsMapTextureChanger
|
||||
{
|
||||
ThumbImage.Image = this.map_textures[selected];
|
||||
ThumbImage.Tag = selected;
|
||||
toolStripStatusLabel1.Text = selected + ": " + this.map_textures[selected].Width + "x" + this.map_textures[selected].Height;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user