mirror of
https://github.com/ShareX/ShareX.git
synced 2024-09-30 09:17:36 +13:00
Make sure to update image size label theme
This commit is contained in:
parent
ebb1723eab
commit
97d375f922
2 changed files with 2 additions and 2 deletions
|
@ -166,6 +166,7 @@ public MyPictureBox()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
Text = "";
|
Text = "";
|
||||||
|
UpdateTheme();
|
||||||
UpdateImageSizeLabel();
|
UpdateImageSizeLabel();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -176,8 +177,6 @@ private void UpdateImageSizeLabel()
|
||||||
|
|
||||||
public void UpdateTheme()
|
public void UpdateTheme()
|
||||||
{
|
{
|
||||||
UpdateCheckers(true);
|
|
||||||
|
|
||||||
lblImageSize.BackColor = ShareXResources.BackgroundColor;
|
lblImageSize.BackColor = ShareXResources.BackgroundColor;
|
||||||
lblImageSize.ForeColor = ShareXResources.TextColor;
|
lblImageSize.ForeColor = ShareXResources.TextColor;
|
||||||
}
|
}
|
||||||
|
|
|
@ -799,6 +799,7 @@ private void UpdateTheme()
|
||||||
}
|
}
|
||||||
|
|
||||||
pbPreview.UpdateTheme();
|
pbPreview.UpdateTheme();
|
||||||
|
pbPreview.UpdateCheckers(true);
|
||||||
ucTaskThumbnailView.UpdateTheme();
|
ucTaskThumbnailView.UpdateTheme();
|
||||||
ucNews.UpdateTheme();
|
ucNews.UpdateTheme();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue