mirror of
https://github.com/ShareX/ShareX.git
synced 2024-07-15 11:26:36 +12:00
Use dark background in thumbnail picturebox
This commit is contained in:
parent
7df6f0f128
commit
bb9c597a45
|
@ -71,6 +71,18 @@ public override string Text
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Color PictureBoxBackColor
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return pbMain.BackColor;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
pbMain.BackColor = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private bool drawCheckeredBackground;
|
private bool drawCheckeredBackground;
|
||||||
|
|
||||||
[DefaultValue(false)]
|
[DefaultValue(false)]
|
||||||
|
|
6
ShareX/Controls/TaskPanel.Designer.cs
generated
6
ShareX/Controls/TaskPanel.Designer.cs
generated
|
@ -64,12 +64,12 @@ private void InitializeComponent()
|
||||||
//
|
//
|
||||||
// pbThumbnail
|
// pbThumbnail
|
||||||
//
|
//
|
||||||
this.pbThumbnail.BackColor = System.Drawing.SystemColors.Window;
|
this.pbThumbnail.BackColor = System.Drawing.Color.Transparent;
|
||||||
this.pbThumbnail.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.pbThumbnail.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.pbThumbnail.DrawCheckeredBackground = true;
|
|
||||||
this.pbThumbnail.FullscreenOnClick = true;
|
this.pbThumbnail.FullscreenOnClick = true;
|
||||||
this.pbThumbnail.Location = new System.Drawing.Point(5, 5);
|
this.pbThumbnail.Location = new System.Drawing.Point(5, 5);
|
||||||
this.pbThumbnail.Name = "pbThumbnail";
|
this.pbThumbnail.Name = "pbThumbnail";
|
||||||
|
this.pbThumbnail.PictureBoxBackColor = System.Drawing.Color.Transparent;
|
||||||
this.pbThumbnail.Size = new System.Drawing.Size(246, 212);
|
this.pbThumbnail.Size = new System.Drawing.Size(246, 212);
|
||||||
this.pbThumbnail.TabIndex = 0;
|
this.pbThumbnail.TabIndex = 0;
|
||||||
//
|
//
|
||||||
|
@ -81,7 +81,7 @@ private void InitializeComponent()
|
||||||
this.lblFilename.ForeColor = System.Drawing.Color.White;
|
this.lblFilename.ForeColor = System.Drawing.Color.White;
|
||||||
this.lblFilename.Location = new System.Drawing.Point(0, 0);
|
this.lblFilename.Location = new System.Drawing.Point(0, 0);
|
||||||
this.lblFilename.Name = "lblFilename";
|
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.TabIndex = 1;
|
||||||
this.lblFilename.Text = "Test.png";
|
this.lblFilename.Text = "Test.png";
|
||||||
this.lblFilename.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
this.lblFilename.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||||
|
|
Loading…
Reference in a new issue