mirror of
https://github.com/greenshot/greenshot
synced 2025-07-16 10:03:44 -07:00
FEATURE-758: This commit enhances the already made changes to also fix the size of the icons in the destination picker and the context menu. On top of that, if a large icon size is selected we try to get a larger (more defined) icon from the application unfortunately that doesn't improve the build in icons.
This commit is contained in:
parent
1da7d028a0
commit
9df25bdd76
13 changed files with 129 additions and 27 deletions
|
@ -56,18 +56,14 @@ namespace Greenshot.Configuration {
|
|||
public int FreehandSensitivity;
|
||||
[IniProperty("SuppressSaveDialogAtClose", Description="Suppressed the 'do you want to save' dialog when closing the editor.", DefaultValue="False")]
|
||||
public bool SuppressSaveDialogAtClose;
|
||||
[IniProperty("ButtonIconSize", Description = "Defines the size of the icons for the buttons in the editor, default value 16,16 anything bigger will cause scaling", DefaultValue = "16,16")]
|
||||
public Size ButtonIconSize;
|
||||
|
||||
public override void AfterLoad() {
|
||||
base.AfterLoad();
|
||||
if (RecentColors == null) {
|
||||
RecentColors = new List<Color>();
|
||||
}
|
||||
if (ButtonIconSize == Size.Empty) {
|
||||
ButtonIconSize = new Size(16,16);
|
||||
}
|
||||
}
|
||||
|
||||
/// <param name="requestingType">Type of the class for which to create the field</param>
|
||||
/// <param name="fieldType">FieldType of the field to construct</param>
|
||||
/// <param name="scope">FieldType of the field to construct</param>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue