Adjust tab styling

- Pass separator bars to tabs, disable drawn borders
- Remove ActionBar from leftnav
- Remove PrintProgressBar from leftnav
- Revise BreadCrumb button attributes
- Revise UpFolder icon
- Revise overflow/pancake menu icon
- Create OverflowButton to encapsulate common menu item
- Use horizontal/VerticalLine for consistent color/weight separators
- Reduce visual clutter
  - Minimize regions created by color and line separators
  - Reduce the contrast of separator lines
  - Reduce the contrast of region backgrounds
  - Use consistent background colors across sibling tab pages
This commit is contained in:
John Lewin 2017-05-23 10:51:12 -07:00
parent f9c769998d
commit 1e643617c5
31 changed files with 326 additions and 175 deletions

View file

@ -46,7 +46,8 @@ namespace MatterHackers.MatterControl.CustomWidgets
pressedTextColor = ActiveTheme.Instance.PrimaryTextColor,
disabledTextColor = ActiveTheme.Instance.PrimaryTextColor,
Margin = new BorderDouble(10, 0),
borderWidth = 0
borderWidth = 0,
FixedHeight = 30
};
public FolderBreadCrumbWidget(ListView listView)
@ -80,7 +81,7 @@ namespace MatterHackers.MatterControl.CustomWidgets
Button upbutton = navigationButtonFactory.Generate("", icon);
upbutton.Name = "Library Up Button";
upbutton.Margin = new BorderDouble(3, 0, 3, 0);
upbutton.Margin = 0;
upbutton.Click += (s, e) =>
{
if (listView.ActiveContainer.Parent != null)
@ -88,6 +89,7 @@ namespace MatterHackers.MatterControl.CustomWidgets
UiThread.RunOnIdle(() => listView.LoadContainer(listView.ActiveContainer.Parent));
}
};
this.AddChild(upbutton);
bool firstItem = true;