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
diff options
context:
space:
mode:
authorKeting Yang <ketyang@microsoft.com>2019-09-05 23:32:53 +0300
committerKeting Yang <ketyang@microsoft.com>2019-09-05 23:32:53 +0300
commit019b1719a52269555060e5d8512de3d761a8388e (patch)
tree90c9f552319b463d988fcbbeb6c0922e7975ecf1 /main/src/addins/MonoDevelop.UnitTesting
parent72d5f120e4cd12af71949718371ebf3d4092f205 (diff)
Change the design of the unit test pad
1. Include the new icon of "Debug All" 2. Get rid of the text lable
Diffstat (limited to 'main/src/addins/MonoDevelop.UnitTesting')
-rw-r--r--main/src/addins/MonoDevelop.UnitTesting/Gui/TestPad.cs7
1 files changed, 2 insertions, 5 deletions
diff --git a/main/src/addins/MonoDevelop.UnitTesting/Gui/TestPad.cs b/main/src/addins/MonoDevelop.UnitTesting/Gui/TestPad.cs
index dea1cc2d13..081742ca3d 100644
--- a/main/src/addins/MonoDevelop.UnitTesting/Gui/TestPad.cs
+++ b/main/src/addins/MonoDevelop.UnitTesting/Gui/TestPad.cs
@@ -94,10 +94,7 @@ namespace MonoDevelop.UnitTesting
VBox vbox = new VBox ();
DockItemToolbar topToolbar = Window.GetToolbar (DockPositionType.Top);
- var hbox = new HBox { Spacing = 6 };
- hbox.PackStart (new ImageView (ImageService.GetIcon ("md-execute-all", IconSize.Menu)), false, false, 0);
- hbox.PackStart (new Label (GettextCatalog.GetString ("Run All")), false, false, 0);
- buttonRunAll = new Button (hbox);
+ buttonRunAll = new Button (new ImageView (ImageService.GetIcon ("md-execute-all", IconSize.Menu)));
buttonRunAll.Accessible.Name = "TestPad.RunAll";
buttonRunAll.Accessible.Description = GettextCatalog.GetString ("Start a test run and run all the tests");
buttonRunAll.Clicked += new EventHandler (OnRunAllClicked);
@@ -105,7 +102,7 @@ namespace MonoDevelop.UnitTesting
buttonRunAll.TooltipText = GettextCatalog.GetString ("Run all tests");
topToolbar.Add (buttonRunAll);
- buttonDebugAll = new Button (GettextCatalog.GetString ("Debug All"));
+ buttonDebugAll = new Button (new ImageView (ImageService.GetIcon ("md-debug-all", IconSize.Menu)));
buttonDebugAll.Accessible.Name = "TestPad.DebugAll";
buttonDebugAll.Accessible.Description = GettextCatalog.GetString ("Debug all the tests");
buttonDebugAll.Clicked += new EventHandler (OnDebugAllClicked);