Skip to content

Commit e589b03

Browse files
author
tznind
committed
Ignore all the other new subcomponent/unsupported views
1 parent 7682631 commit e589b03

2 files changed

Lines changed: 32 additions & 1 deletion

File tree

src/Design.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -640,6 +640,11 @@ private IEnumerable<Property> LoadDesignableProperties()
640640
yield return this.CreateProperty(nameof(LinearRange.Type));
641641
}
642642

643+
if(this.View is Link)
644+
{
645+
yield return this.CreateProperty(nameof(Link.Url));
646+
}
647+
643648
if (this.View is SpinnerView)
644649
{
645650
yield return this.CreateProperty(nameof(SpinnerView.AutoSpin));

src/ViewFactory.cs

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ public static class ViewFactory
5353
typeof(ScrollSlider),
5454

5555

56+
typeof(FlagSelector),
5657
typeof(FlagSelector<>),
5758
typeof(Dialog<>),
5859
typeof(Prompt<,>),
@@ -66,7 +67,32 @@ public static class ViewFactory
6667
typeof(ListView<>),
6768
typeof(ToolTipHost<>),
6869
typeof(RunnableWrapper<,>),
69-
typeof(MarginView)
70+
typeof(MarginView),
71+
typeof(AttributePicker),
72+
73+
74+
typeof(BorderView),
75+
typeof(Bar),
76+
77+
// Not looked at these yet
78+
typeof(Markdown),
79+
typeof(MarkdownCodeBlock),
80+
typeof(MarkdownTable),
81+
82+
// All are MenuBar subcomponents
83+
typeof(Menu),
84+
typeof(MenuBarItem),
85+
typeof(MenuItem),
86+
typeof(MenuItem),
87+
typeof(PopoverMenu),
88+
89+
90+
typeof(PaddingView),
91+
92+
typeof(ScrollButton),
93+
typeof(StatusBar),
94+
typeof(Tabs),
95+
typeof(TitleView),
7096
];
7197

7298
/// <summary>

0 commit comments

Comments
 (0)