mirror of
https://github.com/greenshot/greenshot
synced 2025-08-22 06:23:24 -07:00
Solved the issue with the destination picker font, and some other small issues.
There still is an issue when using Powertoys, that the capture is somehow skipping.
This commit is contained in:
parent
21be3a93a5
commit
5825d5cfd6
4 changed files with 11 additions and 11 deletions
2
Greenshot/Forms/AboutForm.Designer.cs
generated
2
Greenshot/Forms/AboutForm.Designer.cs
generated
|
@ -67,7 +67,7 @@ namespace Greenshot.Forms {
|
|||
//
|
||||
// lblTitle
|
||||
//
|
||||
this.lblTitle.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.World, ((byte)(0)));
|
||||
this.lblTitle.Font = new System.Drawing.Font(System.Drawing.FontFamily.GenericSansSerif, 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.lblTitle.Location = new System.Drawing.Point(108, 12);
|
||||
this.lblTitle.Name = "lblTitle";
|
||||
this.lblTitle.Size = new System.Drawing.Size(263, 19);
|
||||
|
|
4
Greenshot/Forms/CaptureForm.Designer.cs
generated
4
Greenshot/Forms/CaptureForm.Designer.cs
generated
|
@ -55,8 +55,8 @@ namespace Greenshot.Forms {
|
|||
//
|
||||
// CaptureForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
||||
this.ClientSize = new System.Drawing.Size(0, 0);
|
||||
this.Cursor = System.Windows.Forms.Cursors.Cross;
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
|
||||
|
|
10
Greenshot/Forms/ImageEditorForm.Designer.cs
generated
10
Greenshot/Forms/ImageEditorForm.Designer.cs
generated
|
@ -231,8 +231,8 @@ namespace Greenshot {
|
|||
//
|
||||
// topToolStripContainer
|
||||
//
|
||||
this.topToolStripContainer.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
|
||||
this.topToolStripContainer.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
||||
this.topToolStripContainer.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.topToolStripContainer.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
//
|
||||
// topToolStripContainer.BottomToolStripPanel
|
||||
//
|
||||
|
@ -1037,7 +1037,6 @@ namespace Greenshot {
|
|||
//
|
||||
// propertiesToolStrip
|
||||
//
|
||||
this.propertiesToolStrip.AutoSize = false;
|
||||
this.propertiesToolStrip.ClickThrough = true;
|
||||
this.propertiesToolStrip.ImageScalingSize = coreConfiguration.ScaledIconSize;
|
||||
this.propertiesToolStrip.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
|
@ -1225,7 +1224,6 @@ namespace Greenshot {
|
|||
// fontFamilyComboBox
|
||||
//
|
||||
this.fontFamilyComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.fontFamilyComboBox.AutoSize = false;
|
||||
this.fontFamilyComboBox.MaxDropDownItems = 20;
|
||||
this.fontFamilyComboBox.Name = "fontFamilyComboBox";
|
||||
this.fontFamilyComboBox.Size = new System.Drawing.Size(200, 20);
|
||||
|
@ -1815,8 +1813,8 @@ namespace Greenshot {
|
|||
//
|
||||
// ImageEditorForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
||||
this.ClientSize = new System.Drawing.Size(785, 485);
|
||||
this.Controls.Add(this.topToolStripContainer);
|
||||
this.KeyPreview = true;
|
||||
|
|
|
@ -161,8 +161,10 @@ namespace GreenshotPlugin.Core {
|
|||
var screenDpi = DpiHelper.GetDpi(menu.Location);
|
||||
var scaledIconSize = DpiHelper.ScaleWithDpi(CoreConfig.IconSize, screenDpi);
|
||||
menu.SuspendLayout();
|
||||
menu.ImageScalingSize = scaledIconSize;
|
||||
menu.ResumeLayout();
|
||||
var fontSize = DpiHelper.ScaleWithDpi(12f, screenDpi);
|
||||
menu.Font = new Font(FontFamily.GenericSansSerif, fontSize, FontStyle.Regular, GraphicsUnit.Pixel);
|
||||
menu.ImageScalingSize = scaledIconSize;
|
||||
menu.ResumeLayout();
|
||||
};
|
||||
|
||||
menu.Closing += delegate(object source, ToolStripDropDownClosingEventArgs eventArgs) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue