mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-01 17:56:51 +13:00
Small UI changes
This commit is contained in:
parent
ea63c7209f
commit
e53ecd40ab
4 changed files with 9 additions and 8 deletions
4
ShareX/Controls/TaskPanel.Designer.cs
generated
4
ShareX/Controls/TaskPanel.Designer.cs
generated
|
@ -82,11 +82,11 @@ private void InitializeComponent()
|
|||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.lblFilename.AutoEllipsis = true;
|
||||
this.lblFilename.BackColor = System.Drawing.Color.Transparent;
|
||||
this.lblFilename.Font = new System.Drawing.Font("Arial", 12F);
|
||||
this.lblFilename.Font = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.lblFilename.ForeColor = System.Drawing.Color.White;
|
||||
this.lblFilename.Location = new System.Drawing.Point(0, 0);
|
||||
this.lblFilename.Name = "lblFilename";
|
||||
this.lblFilename.Size = new System.Drawing.Size(256, 24);
|
||||
this.lblFilename.Size = new System.Drawing.Size(256, 22);
|
||||
this.lblFilename.TabIndex = 1;
|
||||
this.lblFilename.Text = "Test.png";
|
||||
this.lblFilename.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
|
|
|
@ -107,7 +107,7 @@ public TaskPanel(WorkerTask task)
|
|||
|
||||
public void ChangeThumbnailSize(Size size)
|
||||
{
|
||||
Size = new Size(pThumbnail.Padding.Horizontal + size.Width, lblFilename.Height + pThumbnail.Padding.Vertical + size.Height);
|
||||
Size = new Size(pThumbnail.Padding.Horizontal + size.Width, pThumbnail.Top + pThumbnail.Padding.Vertical + size.Height);
|
||||
}
|
||||
|
||||
public void UpdateFilename()
|
||||
|
|
6
ShareX/Controls/TaskView.Designer.cs
generated
6
ShareX/Controls/TaskView.Designer.cs
generated
|
@ -37,8 +37,8 @@ private void InitializeComponent()
|
|||
this.flpMain.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.flpMain.Location = new System.Drawing.Point(0, 0);
|
||||
this.flpMain.Name = "flpMain";
|
||||
this.flpMain.Padding = new System.Windows.Forms.Padding(3);
|
||||
this.flpMain.Size = new System.Drawing.Size(242, 6);
|
||||
this.flpMain.Padding = new System.Windows.Forms.Padding(5, 3, 5, 5);
|
||||
this.flpMain.Size = new System.Drawing.Size(242, 8);
|
||||
this.flpMain.TabIndex = 0;
|
||||
//
|
||||
// TaskView
|
||||
|
@ -46,7 +46,7 @@ private void InitializeComponent()
|
|||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.AutoScroll = true;
|
||||
this.BackColor = System.Drawing.Color.Transparent;
|
||||
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(42)))), ((int)(((byte)(47)))), ((int)(((byte)(56)))));
|
||||
this.Controls.Add(this.flpMain);
|
||||
this.Name = "TaskView";
|
||||
this.Size = new System.Drawing.Size(242, 228);
|
||||
|
|
5
ShareX/Forms/MainForm.Designer.cs
generated
5
ShareX/Forms/MainForm.Designer.cs
generated
|
@ -384,6 +384,7 @@ private void InitializeComponent()
|
|||
this.pbPreview.EnableRightClickMenu = true;
|
||||
this.pbPreview.FullscreenOnClick = true;
|
||||
this.pbPreview.Name = "pbPreview";
|
||||
this.pbPreview.PictureBoxBackColor = System.Drawing.SystemColors.Control;
|
||||
this.pbPreview.ShowImageSizeLabel = true;
|
||||
//
|
||||
// flpSupportUs
|
||||
|
@ -2170,16 +2171,16 @@ private void InitializeComponent()
|
|||
//
|
||||
// pThumbnailView
|
||||
//
|
||||
this.pThumbnailView.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(42)))), ((int)(((byte)(47)))), ((int)(((byte)(56)))));
|
||||
this.pThumbnailView.Controls.Add(this.ucTaskView);
|
||||
resources.ApplyResources(this.pThumbnailView, "pThumbnailView");
|
||||
this.pThumbnailView.Name = "pThumbnailView";
|
||||
//
|
||||
// ucTaskView
|
||||
//
|
||||
this.ucTaskView.BackColor = System.Drawing.Color.Transparent;
|
||||
this.ucTaskView.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(42)))), ((int)(((byte)(47)))), ((int)(((byte)(56)))));
|
||||
resources.ApplyResources(this.ucTaskView, "ucTaskView");
|
||||
this.ucTaskView.Name = "ucTaskView";
|
||||
this.ucTaskView.ThumbnailSize = new System.Drawing.Size(200, 150);
|
||||
//
|
||||
// MainForm
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue