All buttons switch to agg themed buttons

This commit is contained in:
LarsBrubaker 2022-07-16 07:46:44 -07:00 committed by Lars Brubaker
parent 02be841100
commit 3307e204ee
79 changed files with 218 additions and 881 deletions

View file

@ -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),

View file

@ -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)
{

View file

@ -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)
{