From a56e61ed65aebc796320a7ab2d8d9f400ce9e376 Mon Sep 17 00:00:00 2001 From: tolik518 Date: Wed, 7 Aug 2024 21:25:39 +0200 Subject: [PATCH] Ui adjustments --- .../Forms/FrmLoadSaveGame.Designer.cs | 44 ++++++++----------- SoG_SGreader/Forms/FrmLoadSaveGame.resx | 2 +- SoG_SGreader/Forms/FrmMain.Designer.cs | 26 +++++------ 3 files changed, 32 insertions(+), 40 deletions(-) diff --git a/SoG_SGreader/Forms/FrmLoadSaveGame.Designer.cs b/SoG_SGreader/Forms/FrmLoadSaveGame.Designer.cs index 5de727a..c7e0ade 100644 --- a/SoG_SGreader/Forms/FrmLoadSaveGame.Designer.cs +++ b/SoG_SGreader/Forms/FrmLoadSaveGame.Designer.cs @@ -51,10 +51,9 @@ private void InitializeComponent() // btnLoadSaveGame // this.btnLoadSaveGame.Enabled = false; - this.btnLoadSaveGame.Location = new System.Drawing.Point(350, 205); - this.btnLoadSaveGame.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.btnLoadSaveGame.Location = new System.Drawing.Point(233, 137); this.btnLoadSaveGame.Name = "btnLoadSaveGame"; - this.btnLoadSaveGame.Size = new System.Drawing.Size(128, 83); + this.btnLoadSaveGame.Size = new System.Drawing.Size(85, 55); this.btnLoadSaveGame.TabIndex = 0; this.btnLoadSaveGame.Text = "Load"; this.btnLoadSaveGame.UseVisualStyleBackColor = true; @@ -62,10 +61,9 @@ private void InitializeComponent() // // btnStartWithoitLoading // - this.btnStartWithoitLoading.Location = new System.Drawing.Point(490, 248); - this.btnStartWithoitLoading.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.btnStartWithoitLoading.Location = new System.Drawing.Point(327, 165); this.btnStartWithoitLoading.Name = "btnStartWithoitLoading"; - this.btnStartWithoitLoading.Size = new System.Drawing.Size(38, 38); + this.btnStartWithoitLoading.Size = new System.Drawing.Size(25, 25); this.btnStartWithoitLoading.TabIndex = 3; this.btnStartWithoitLoading.Text = "..."; this.btnStartWithoitLoading.UseVisualStyleBackColor = true; @@ -75,20 +73,18 @@ private void InitializeComponent() // this.lblFilePath.Dock = System.Windows.Forms.DockStyle.Bottom; this.lblFilePath.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lblFilePath.Location = new System.Drawing.Point(0, 289); - this.lblFilePath.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lblFilePath.Location = new System.Drawing.Point(0, 192); this.lblFilePath.Name = "lblFilePath"; - this.lblFilePath.Size = new System.Drawing.Size(542, 37); + this.lblFilePath.Size = new System.Drawing.Size(361, 25); this.lblFilePath.TabIndex = 4; this.lblFilePath.Text = "[lblFilePath]"; // // lblSaveGameCount // this.lblSaveGameCount.AutoSize = true; - this.lblSaveGameCount.Location = new System.Drawing.Point(354, 180); - this.lblSaveGameCount.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lblSaveGameCount.Location = new System.Drawing.Point(236, 120); this.lblSaveGameCount.Name = "lblSaveGameCount"; - this.lblSaveGameCount.Size = new System.Drawing.Size(166, 20); + this.lblSaveGameCount.Size = new System.Drawing.Size(113, 13); this.lblSaveGameCount.TabIndex = 5; this.lblSaveGameCount.Text = "No Savegames found!"; // @@ -105,12 +101,11 @@ private void InitializeComponent() this.lstvSaveGames.GridLines = true; this.lstvSaveGames.HideSelection = false; this.lstvSaveGames.LabelWrap = false; - this.lstvSaveGames.Location = new System.Drawing.Point(4, 2); - this.lstvSaveGames.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.lstvSaveGames.Location = new System.Drawing.Point(3, 1); this.lstvSaveGames.MultiSelect = false; this.lstvSaveGames.Name = "lstvSaveGames"; this.lstvSaveGames.Scrollable = false; - this.lstvSaveGames.Size = new System.Drawing.Size(338, 281); + this.lstvSaveGames.Size = new System.Drawing.Size(227, 189); this.lstvSaveGames.SmallImageList = this.imageList1; this.lstvSaveGames.TabIndex = 6; this.lstvSaveGames.UseCompatibleStateImageBehavior = false; @@ -121,13 +116,13 @@ private void InitializeComponent() // columnSavefile // this.columnSavefile.Text = "Slot"; - this.columnSavefile.Width = 61; + this.columnSavefile.Width = 30; // // columnSex // this.columnSex.Text = "Sex"; this.columnSex.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; - this.columnSex.Width = 46; + this.columnSex.Width = 30; // // columnCharName // @@ -146,10 +141,9 @@ private void InitializeComponent() this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.pictureBox1.Image = global::SoG_SGreader.Properties.Resources.icon; this.pictureBox1.InterpolationMode = System.Drawing.Drawing2D.InterpolationMode.NearestNeighbor; - this.pictureBox1.Location = new System.Drawing.Point(354, 11); - this.pictureBox1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.pictureBox1.Location = new System.Drawing.Point(236, 7); this.pictureBox1.Name = "pictureBox1"; - this.pictureBox1.Size = new System.Drawing.Size(166, 164); + this.pictureBox1.Size = new System.Drawing.Size(112, 111); this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; this.pictureBox1.TabIndex = 32; this.pictureBox1.TabStop = false; @@ -158,20 +152,19 @@ private void InitializeComponent() // this.btnChooseFolder.Cursor = System.Windows.Forms.Cursors.Default; this.btnChooseFolder.Image = ((System.Drawing.Image)(resources.GetObject("btnChooseFolder.Image"))); - this.btnChooseFolder.Location = new System.Drawing.Point(490, 203); - this.btnChooseFolder.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.btnChooseFolder.Location = new System.Drawing.Point(327, 135); this.btnChooseFolder.Name = "btnChooseFolder"; - this.btnChooseFolder.Size = new System.Drawing.Size(38, 38); + this.btnChooseFolder.Size = new System.Drawing.Size(25, 25); this.btnChooseFolder.TabIndex = 2; this.btnChooseFolder.UseVisualStyleBackColor = true; this.btnChooseFolder.Click += new System.EventHandler(this.BtnChooseFolder_Click); // // FrmLoadSaveGame // - this.AutoScaleDimensions = new System.Drawing.SizeF(144F, 144F); + this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; - this.ClientSize = new System.Drawing.Size(542, 326); + this.ClientSize = new System.Drawing.Size(361, 217); this.Controls.Add(this.pictureBox1); this.Controls.Add(this.lstvSaveGames); this.Controls.Add(this.lblSaveGameCount); @@ -181,7 +174,6 @@ private void InitializeComponent() this.Controls.Add(this.btnLoadSaveGame); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); - this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.MaximizeBox = false; this.Name = "FrmLoadSaveGame"; this.Text = "SoG: Savegame Editor v0.8.0 by tolik518"; diff --git a/SoG_SGreader/Forms/FrmLoadSaveGame.resx b/SoG_SGreader/Forms/FrmLoadSaveGame.resx index dc0cd83..f4e1bb8 100644 --- a/SoG_SGreader/Forms/FrmLoadSaveGame.resx +++ b/SoG_SGreader/Forms/FrmLoadSaveGame.resx @@ -125,7 +125,7 @@ AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0 ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAACu - BwAAAk1TRnQBSQFMAwEBAAFoAQABaAEAARABAAEQAQAE/wEJAQAI/wFCAU0BNgEEBgABNgEEAgABKAMA + BwAAAk1TRnQBSQFMAwEBAAFwAQABcAEAARABAAEQAQAE/wEJAQAI/wFCAU0BNgEEBgABNgEEAgABKAMA AUADAAEQAwABAQEAAQgGAAEEGAABgAIAAYADAAKAAQABgAMAAYABAAGAAQACgAIAA8ABAAHAAdwBwAEA AfABygGmAQABMwUAATMBAAEzAQABMwEAAjMCAAMWAQADHAEAAyIBAAMpAQADVQEAA00BAANCAQADOQEA AYABfAH/AQACUAH/AQABkwEAAdYBAAH/AewBzAEAAcYB1gHvAQAB1gLnAQABkAGpAa0CAAH/ATMDAAFm diff --git a/SoG_SGreader/Forms/FrmMain.Designer.cs b/SoG_SGreader/Forms/FrmMain.Designer.cs index c2427de..438539d 100644 --- a/SoG_SGreader/Forms/FrmMain.Designer.cs +++ b/SoG_SGreader/Forms/FrmMain.Designer.cs @@ -4429,7 +4429,7 @@ private void InitializeComponent() this.cblstCards.FormattingEnabled = true; this.cblstCards.Location = new System.Drawing.Point(6, 6); this.cblstCards.Name = "cblstCards"; - this.cblstCards.Size = new System.Drawing.Size(442, 409); + this.cblstCards.Size = new System.Drawing.Size(442, 394); this.cblstCards.TabIndex = 2; // // tabMaps @@ -4507,7 +4507,7 @@ private void InitializeComponent() this.cblstMaps.FormattingEnabled = true; this.cblstMaps.Location = new System.Drawing.Point(6, 6); this.cblstMaps.Name = "cblstMaps"; - this.cblstMaps.Size = new System.Drawing.Size(442, 409); + this.cblstMaps.Size = new System.Drawing.Size(442, 394); this.cblstMaps.TabIndex = 7; // // tabQuests @@ -4596,7 +4596,7 @@ private void InitializeComponent() this.cblstQuests.FormattingEnabled = true; this.cblstQuests.Location = new System.Drawing.Point(6, 6); this.cblstQuests.Name = "cblstQuests"; - this.cblstQuests.Size = new System.Drawing.Size(442, 484); + this.cblstQuests.Size = new System.Drawing.Size(442, 394); this.cblstQuests.TabIndex = 7; // // tabFlags @@ -4776,7 +4776,7 @@ private void InitializeComponent() this.cblstTrophies.FormattingEnabled = true; this.cblstTrophies.Location = new System.Drawing.Point(6, 6); this.cblstTrophies.Name = "cblstTrophies"; - this.cblstTrophies.Size = new System.Drawing.Size(442, 409); + this.cblstTrophies.Size = new System.Drawing.Size(442, 394); this.cblstTrophies.TabIndex = 11; // // tabFishCaught @@ -4853,7 +4853,7 @@ private void InitializeComponent() this.cblstFishCaught.FormattingEnabled = true; this.cblstFishCaught.Location = new System.Drawing.Point(6, 6); this.cblstFishCaught.Name = "cblstFishCaught"; - this.cblstFishCaught.Size = new System.Drawing.Size(442, 484); + this.cblstFishCaught.Size = new System.Drawing.Size(442, 394); this.cblstFishCaught.TabIndex = 17; // // tabEnemiesSeen @@ -4931,7 +4931,7 @@ private void InitializeComponent() this.cblstEnemiesSeens.FormattingEnabled = true; this.cblstEnemiesSeens.Location = new System.Drawing.Point(6, 6); this.cblstEnemiesSeens.Name = "cblstEnemiesSeens"; - this.cblstEnemiesSeens.Size = new System.Drawing.Size(442, 469); + this.cblstEnemiesSeens.Size = new System.Drawing.Size(442, 394); this.cblstEnemiesSeens.TabIndex = 9; // // tabEnemiesKilled @@ -4965,7 +4965,7 @@ private void InitializeComponent() this.groupBox6.Controls.Add(this.numericUpDown1); this.groupBox6.Controls.Add(this.comboBox1); this.groupBox6.Enabled = false; - this.groupBox6.Location = new System.Drawing.Point(6, 338); + this.groupBox6.Location = new System.Drawing.Point(6, 335); this.groupBox6.Name = "groupBox6"; this.groupBox6.Size = new System.Drawing.Size(319, 76); this.groupBox6.TabIndex = 2; @@ -5074,7 +5074,7 @@ private void InitializeComponent() this.grpItemsSeen.Controls.Add(this.btnDeselectAllItemsSeen); this.grpItemsSeen.Location = new System.Drawing.Point(454, 6); this.grpItemsSeen.Name = "grpItemsSeen"; - this.grpItemsSeen.Size = new System.Drawing.Size(97, 399); + this.grpItemsSeen.Size = new System.Drawing.Size(97, 403); this.grpItemsSeen.TabIndex = 14; this.grpItemsSeen.TabStop = false; this.grpItemsSeen.Text = "Items Seen"; @@ -5101,7 +5101,7 @@ private void InitializeComponent() // btnResetItemsSeen // this.btnResetItemsSeen.Anchor = System.Windows.Forms.AnchorStyles.Bottom; - this.btnResetItemsSeen.Location = new System.Drawing.Point(6, 369); + this.btnResetItemsSeen.Location = new System.Drawing.Point(6, 372); this.btnResetItemsSeen.Name = "btnResetItemsSeen"; this.btnResetItemsSeen.Size = new System.Drawing.Size(87, 23); this.btnResetItemsSeen.TabIndex = 5; @@ -5127,7 +5127,7 @@ private void InitializeComponent() this.cblstItemsSeen.FormattingEnabled = true; this.cblstItemsSeen.Location = new System.Drawing.Point(6, 6); this.cblstItemsSeen.Name = "cblstItemsSeen"; - this.cblstItemsSeen.Size = new System.Drawing.Size(442, 349); + this.cblstItemsSeen.Size = new System.Drawing.Size(442, 394); this.cblstItemsSeen.TabIndex = 13; // // tabItemsCrafted @@ -5151,7 +5151,7 @@ private void InitializeComponent() this.groupBox1.Controls.Add(this.btnDeselectAllItemsCrafted); this.groupBox1.Location = new System.Drawing.Point(454, 6); this.groupBox1.Name = "groupBox1"; - this.groupBox1.Size = new System.Drawing.Size(97, 399); + this.groupBox1.Size = new System.Drawing.Size(97, 403); this.groupBox1.TabIndex = 16; this.groupBox1.TabStop = false; this.groupBox1.Text = "Items Crafted"; @@ -5178,7 +5178,7 @@ private void InitializeComponent() // btnResetItemsCrafted // this.btnResetItemsCrafted.Anchor = System.Windows.Forms.AnchorStyles.Bottom; - this.btnResetItemsCrafted.Location = new System.Drawing.Point(6, 369); + this.btnResetItemsCrafted.Location = new System.Drawing.Point(6, 372); this.btnResetItemsCrafted.Name = "btnResetItemsCrafted"; this.btnResetItemsCrafted.Size = new System.Drawing.Size(87, 23); this.btnResetItemsCrafted.TabIndex = 5; @@ -5204,7 +5204,7 @@ private void InitializeComponent() this.cblstItemsCrafted.FormattingEnabled = true; this.cblstItemsCrafted.Location = new System.Drawing.Point(6, 6); this.cblstItemsCrafted.Name = "cblstItemsCrafted"; - this.cblstItemsCrafted.Size = new System.Drawing.Size(442, 349); + this.cblstItemsCrafted.Size = new System.Drawing.Size(442, 394); this.cblstItemsCrafted.TabIndex = 15; // // tabQuickslots