All buttons switch to agg themed buttons
This commit is contained in:
parent
02be841100
commit
3307e204ee
79 changed files with 218 additions and 881 deletions
|
|
@ -95,7 +95,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow.PlusTab
|
|||
|
||||
if (content.group_items.Count > maxStuff)
|
||||
{
|
||||
var moreButton = new TextButton("More".Localize() + "...", theme)
|
||||
var moreButton = new ThemedTextButton("More".Localize() + "...", theme)
|
||||
{
|
||||
BackgroundColor = theme.MinimalShade,
|
||||
Margin = new BorderDouble(right: leftRightMargin),
|
||||
|
|
|
|||
|
|
@ -222,7 +222,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow.PlusTab
|
|||
{
|
||||
// add the article group button to the button group
|
||||
// add a content section connected to the button
|
||||
var sectionButton = new TextButton(content.group_title, theme);
|
||||
var sectionButton = new ThemedTextButton(content.group_title, theme);
|
||||
sectionSelectButtons.AddChild(sectionButton);
|
||||
var articleSection = new ArticleSection(content, theme)
|
||||
{
|
||||
|
|
@ -242,7 +242,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow.PlusTab
|
|||
|
||||
case "product_group":
|
||||
{
|
||||
var sectionButton = new TextButton(content.group_title, theme);
|
||||
var sectionButton = new ThemedTextButton(content.group_title, theme);
|
||||
sectionSelectButtons.AddChild(sectionButton);
|
||||
var exploreSection = new ProductSection(content, theme)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow.PlusTab
|
|||
private List<ProductItem> allIconViews = new List<ProductItem>();
|
||||
private FeedSectionData content;
|
||||
private ThemeConfig theme;
|
||||
private TextButton moreButton;
|
||||
private ThemedTextButton moreButton;
|
||||
|
||||
public ProductSection(FeedSectionData content, ThemeConfig theme)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue