Change to use TOP_RIGHT_INSIDE_CARD from QFMD, since LEFT doesn't exist (yet!)

This commit is contained in:
2024-02-20 17:07:49 -06:00
parent 9464a308f2
commit 0f16446f69
3 changed files with 3 additions and 3 deletions

View File

@ -66,7 +66,7 @@ public class SampleBigNumberBlocksWidgetMetaDataProducer extends MetaDataProduce
.withLabel("Big Number Blocks")
.withTooltip("This is a sample of a widget using Big Number Blocks")
.withShowReloadButton(false)
.withIcon(MaterialDashboardIconRoleNames.TOP_LEFT_INSIDE_CARD, new QIcon("blocks").withColor("skyblue"))
.withIcon(MaterialDashboardIconRoleNames.TOP_RIGHT_INSIDE_CARD, new QIcon("blocks").withColor("skyblue"))
.withCodeReference(new QCodeReference(SampleBigNumberBlocksWidgetRenderer.class));
}

View File

@ -62,7 +62,7 @@ public class SampleStackedBarChartWidgetMetaDataProducer extends MetaDataProduce
.withLabel("Stacked Bar Chart")
.withTooltip("This is a sample of a stacked bar chart")
.withShowReloadButton(true)
.withIcon(MaterialDashboardIconRoleNames.TOP_LEFT_INSIDE_CARD, new QIcon("new_releases").withColor("#6BA47D"))
.withIcon(MaterialDashboardIconRoleNames.TOP_RIGHT_INSIDE_CARD, new QIcon("new_releases").withColor("#6BA47D"))
.withCodeReference(new QCodeReference(SampleStackedBarChartRenderer.class));
}

View File

@ -60,7 +60,7 @@ public class SampleStatisticsWidgetMetaDataProducer extends MetaDataProducer<QWi
.withLabel("Statistics")
.withTooltip("This is a sample of a statistics widget")
.withShowReloadButton(false)
.withIcon(MaterialDashboardIconRoleNames.TOP_LEFT_INSIDE_CARD, new QIcon("assessment").withColor("#0061FF"))
.withIcon(MaterialDashboardIconRoleNames.TOP_RIGHT_INSIDE_CARD, new QIcon("assessment").withColor("#0061FF"))
.withCodeReference(new QCodeReference(SampleStatisticsWidgetRenderer.class));
}