Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/main/src
diff options
context:
space:
mode:
authorCody Russell <cody@jhu.edu>2019-12-06 07:12:18 +0300
committerMatt Ward <ward.matt@gmail.com>2020-01-07 15:35:54 +0300
commitd23edd48c10fb620f0c6f60c1c5e49ad7f8a1258 (patch)
tree1451ffa88cf86115161430e67f33b62cd4306ee4 /main/src
parent88626b9fbf44e915446b42a9a4d627d74f97e969 (diff)
Fix the footer color of the exception caught dialog
Fixes VSTS #1007551
Diffstat (limited to 'main/src')
-rw-r--r--main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger/ExceptionCaughtDialog.cs7
-rw-r--r--main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger/Styles.cs3
2 files changed, 9 insertions, 1 deletions
diff --git a/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger/ExceptionCaughtDialog.cs b/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger/ExceptionCaughtDialog.cs
index 442b86ee3f..0a8c41c860 100644
--- a/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger/ExceptionCaughtDialog.cs
+++ b/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger/ExceptionCaughtDialog.cs
@@ -424,7 +424,12 @@ widget ""*.exception_help_link_label"" style ""exception-help-link-label""
actionArea.PackStart (new VBox (), false, true, 3); // dummy just to take extra 6px at end to make it 20pixels
actionArea.ShowAll ();
- vbox.PackStart (actionArea, false, true, 0);
+ var bottomButtonPanelBackground = new EventBox ();
+ bottomButtonPanelBackground.Show ();
+ bottomButtonPanelBackground.ModifyBg (StateType.Normal, Styles.ExceptionCaughtDialog.BottomPaddingBackgroundColor.ToGdkColor ());
+ bottomButtonPanelBackground.Add (actionArea);
+
+ vbox.PackStart (bottomButtonPanelBackground, false, true, 0);
}
Widget CreateInnerExceptionMessage ()
diff --git a/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger/Styles.cs b/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger/Styles.cs
index d8a608a98a..7f6141b0e2 100644
--- a/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger/Styles.cs
+++ b/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger/Styles.cs
@@ -57,6 +57,7 @@ namespace MonoDevelop.Debugger
public Color TreeSelectedBackgroundColor { get; internal set; }
public Color TreeSelectedTextColor { get; internal set; }
public Color ValueTreeBackgroundColor { get; internal set; }
+ public Color BottomPaddingBackgroundColor { get; internal set; }
}
static Styles ()
@@ -86,6 +87,7 @@ namespace MonoDevelop.Debugger
ExceptionCaughtDialog.LineNumberTextColor = Color.FromName ("#707070");
ExceptionCaughtDialog.ExternalCodeTextColor = Color.FromName ("#707070");
ExceptionCaughtDialog.ValueTreeBackgroundColor = Color.FromName ("#ffffff");
+ ExceptionCaughtDialog.BottomPaddingBackgroundColor = Color.FromName ("#ececec");
BreakpointPropertiesSecondaryTextColor = Color.FromName ("#707070");
} else {
@@ -99,6 +101,7 @@ namespace MonoDevelop.Debugger
ExceptionCaughtDialog.LineNumberTextColor = Color.FromName ("#b4b4b4");
ExceptionCaughtDialog.ExternalCodeTextColor = Color.FromName ("#b4b4b4");
ExceptionCaughtDialog.ValueTreeBackgroundColor = Color.FromName ("#525252");
+ ExceptionCaughtDialog.BottomPaddingBackgroundColor = ObjectValueTreeActiveBackgroundColor;
BreakpointPropertiesSecondaryTextColor = Color.FromName ("#b4b4b4");
}