Removing tiny icons
Prepping for improved folder views Fixing warnings
This commit is contained in:
parent
333ef89a9f
commit
0eec29e84d
43 changed files with 466 additions and 463 deletions
|
|
@ -656,7 +656,7 @@ namespace MatterHackers.MatterControl.PrintLibrary
|
|||
|
||||
menuActions.Add(new LibraryAction(ActionScope.ListView)
|
||||
{
|
||||
Title = "Create Folder...".Localize(),
|
||||
Title = "Create Folder".Localize() + "...",
|
||||
Icon = AggContext.StaticData.LoadIcon("fa-folder-new_16.png", 16, 16, ApplicationController.Instance.MenuTheme.InvertIcons),
|
||||
Action = (selectedLibraryItems, listView) =>
|
||||
{
|
||||
|
|
|
|||
|
|
@ -38,7 +38,9 @@ namespace MatterHackers.MatterControl.PrintQueue
|
|||
public enum ActionScope
|
||||
{
|
||||
ListItem,
|
||||
|
||||
ListView,
|
||||
|
||||
None
|
||||
}
|
||||
|
||||
|
|
@ -49,14 +51,17 @@ namespace MatterHackers.MatterControl.PrintQueue
|
|||
this.Scope = scope;
|
||||
}
|
||||
|
||||
public string Title { get; set; }
|
||||
|
||||
public Action<IEnumerable<ILibraryItem>, LibraryListView> Action { get; set; }
|
||||
|
||||
public Func<IEnumerable<ListViewItem>, LibraryListView, bool> IsEnabled { get; set; }
|
||||
public string ToolTipText { get; internal set; }
|
||||
public ImageBuffer Icon { get; internal set; }
|
||||
|
||||
public Func<IEnumerable<ListViewItem>, LibraryListView, bool> IsEnabled { get; set; }
|
||||
|
||||
public ActionScope Scope { get; }
|
||||
|
||||
public string Title { get; set; }
|
||||
|
||||
public string ToolTipText { get; internal set; }
|
||||
}
|
||||
|
||||
public class MenuSeparator : LibraryAction
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue