mirror of
https://github.com/greenshot/greenshot
synced 2025-08-20 13:33:27 -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
|
@ -368,8 +368,9 @@ namespace Greenshot {
|
|||
|
||||
numericUpDown_daysbetweencheck.Value = coreConfiguration.UpdateCheckInterval;
|
||||
numericUpDown_daysbetweencheck.Enabled = !coreConfiguration.Values["UpdateCheckInterval"].IsFixed;
|
||||
text_icon_width.Text = editorConfiguration.ButtonIconSize.Width.ToString(CultureInfo.InvariantCulture);
|
||||
text_icon_height.Text = editorConfiguration.ButtonIconSize.Height.ToString(CultureInfo.InvariantCulture);
|
||||
coreConfiguration.FixIconSize();
|
||||
text_icon_width.Text = coreConfiguration.IconSize.Width.ToString(CultureInfo.InvariantCulture);
|
||||
text_icon_height.Text = coreConfiguration.IconSize.Height.ToString(CultureInfo.InvariantCulture);
|
||||
CheckDestinationSettings();
|
||||
}
|
||||
|
||||
|
@ -416,12 +417,13 @@ namespace Greenshot {
|
|||
|
||||
int iconWidth;
|
||||
if (int.TryParse(text_icon_width.Text, out iconWidth)) {
|
||||
editorConfiguration.ButtonIconSize.Width = iconWidth;
|
||||
coreConfiguration.IconSize.Width = iconWidth;
|
||||
}
|
||||
int iconHeight;
|
||||
if (int.TryParse(text_icon_height.Text, out iconHeight)) {
|
||||
editorConfiguration.ButtonIconSize.Height = iconHeight;
|
||||
coreConfiguration.IconSize.Height = iconHeight;
|
||||
}
|
||||
coreConfiguration.FixIconSize();
|
||||
try {
|
||||
if (checkbox_autostartshortcut.Checked) {
|
||||
// It's checked, so we set the RunUser if the RunAll isn't set.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue