Revise SaveAs dialog colors
- Remove redundant selectorPanel widget - Issue MatterHackers/MCCentral#2501 Too much contrast
This commit is contained in:
parent
91d8b746ae
commit
269e43fafe
1 changed files with 4 additions and 9 deletions
|
|
@ -28,6 +28,7 @@ either expressed or implied, of the FreeBSD Project.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
using MatterHackers.Agg;
|
||||||
using MatterHackers.Agg.UI;
|
using MatterHackers.Agg.UI;
|
||||||
using MatterHackers.MatterControl.CustomWidgets;
|
using MatterHackers.MatterControl.CustomWidgets;
|
||||||
using MatterHackers.MatterControl.Library;
|
using MatterHackers.MatterControl.Library;
|
||||||
|
|
@ -70,17 +71,11 @@ namespace MatterHackers.MatterControl
|
||||||
|
|
||||||
// put in the bread crumb widget
|
// put in the bread crumb widget
|
||||||
breadCrumbWidget = new FolderBreadCrumbWidget(librarySelectorWidget);
|
breadCrumbWidget = new FolderBreadCrumbWidget(librarySelectorWidget);
|
||||||
|
breadCrumbWidget.BackgroundColor = ActiveTheme.Instance.TertiaryBackgroundColor;
|
||||||
contentRow.AddChild(breadCrumbWidget);
|
contentRow.AddChild(breadCrumbWidget);
|
||||||
|
contentRow.BackgroundColor = Color.Transparent;
|
||||||
|
|
||||||
// put in the area to pick the provider to save to
|
contentRow.AddChild(librarySelectorWidget);
|
||||||
var selectorPanel = new GuiWidget(10, 30)
|
|
||||||
{
|
|
||||||
HAnchor = HAnchor.Stretch,
|
|
||||||
VAnchor = VAnchor.Stretch,
|
|
||||||
BackgroundColor = ActiveTheme.Instance.PrimaryBackgroundColor,
|
|
||||||
};
|
|
||||||
selectorPanel.AddChild(librarySelectorWidget);
|
|
||||||
contentRow.AddChild(selectorPanel);
|
|
||||||
|
|
||||||
acceptButton = buttonFactory.Generate(acceptButtonText);
|
acceptButton = buttonFactory.Generate(acceptButtonText);
|
||||||
acceptButton.Name = "Accept Button";
|
acceptButton.Name = "Accept Button";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue