Add new icons to all menu bar entries

This commit is contained in:
Keavon Chambers
2025-02-07 19:08:06 -08:00
parent 0ec91bfe01
commit 0037f5158c
76 changed files with 484 additions and 194 deletions
+4 -2
View File
@@ -1075,7 +1075,7 @@ export class IconLabel extends WidgetProps {
tooltip!: string | undefined;
}
export class ImageLabel extends WidgetProps {
export class ImageButton extends WidgetProps {
image!: IconName;
@Transform(({ value }: { value: string }) => value || undefined)
@@ -1289,6 +1289,8 @@ export class TextLabel extends WidgetProps {
italic!: boolean;
centerAlign!: boolean;
tableAlign!: boolean;
minWidth!: number;
@@ -1317,8 +1319,8 @@ const widgetSubTypes = [
{ value: DropdownInput, name: "DropdownInput" },
{ value: FontInput, name: "FontInput" },
{ value: IconButton, name: "IconButton" },
{ value: ImageButton, name: "ImageButton" },
{ value: IconLabel, name: "IconLabel" },
{ value: ImageLabel, name: "ImageLabel" },
{ value: NodeCatalog, name: "NodeCatalog" },
{ value: NumberInput, name: "NumberInput" },
{ value: ParameterExposeButton, name: "ParameterExposeButton" },