mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-01 17:56:51 +13:00
Allow opening fullscreen preview even when panel border is clicked
This commit is contained in:
parent
0d5284038a
commit
64a733328b
1 changed files with 3 additions and 3 deletions
6
ShareX/Controls/TaskThumbnailPanel.Designer.cs
generated
6
ShareX/Controls/TaskThumbnailPanel.Designer.cs
generated
|
@ -54,6 +54,7 @@ private void InitializeComponent()
|
|||
this.pThumbnail.Radius = 5F;
|
||||
this.pThumbnail.Size = new System.Drawing.Size(256, 256);
|
||||
this.pThumbnail.TabIndex = 0;
|
||||
this.pThumbnail.MouseClick += new System.Windows.Forms.MouseEventHandler(this.PbThumbnail_MouseClick);
|
||||
//
|
||||
// pbProgress
|
||||
//
|
||||
|
@ -66,7 +67,6 @@ private void InitializeComponent()
|
|||
this.pbProgress.ShowPercentageText = true;
|
||||
this.pbProgress.Size = new System.Drawing.Size(240, 32);
|
||||
this.pbProgress.TabIndex = 1;
|
||||
this.pbProgress.Value = 0;
|
||||
this.pbProgress.Visible = false;
|
||||
//
|
||||
// pbThumbnail
|
||||
|
@ -98,14 +98,14 @@ private void InitializeComponent()
|
|||
this.lblFilename.Text = "Test.png";
|
||||
this.lblFilename.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// TaskPanel
|
||||
// TaskThumbnailPanel
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.BackColor = System.Drawing.Color.Transparent;
|
||||
this.Controls.Add(this.pThumbnail);
|
||||
this.Controls.Add(this.lblFilename);
|
||||
this.Name = "TaskPanel";
|
||||
this.Name = "TaskThumbnailPanel";
|
||||
this.Size = new System.Drawing.Size(256, 280);
|
||||
this.pThumbnail.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbThumbnail)).EndInit();
|
||||
|
|
Loading…
Reference in a new issue