Search found 60 matches

by asusralis
09 Jan 2019, 16:00
Forum: General Discussion
Replies: 5
Views: 2621

Re: XAML freezes Unity on Begin MonoManager ReloadAssembly

I think it did solve the problem, yes. How do you figure why that fixed it? Edit: Nevermind. After I restarted Unity and reopened it, it started to freeze like how it was before. I tried to replicate it in another project, but I cannot. The weird part is that the bug doesn't instantly happen. We hav...
by asusralis
08 Jan 2019, 21:23
Forum: General Discussion
Replies: 5
Views: 2621

XAML freezes Unity on Begin MonoManager ReloadAssembly

After dealing with random freezing in Unity for a week, we think we've pinned it down to an XAML change. <ItemsControl Grid.Row="2" Grid.RowSpan="2" ItemsSource="{Binding Character.Specialty.Skills}"> <ItemsControl.ItemsPanel> <ItemsPanelTemplate> <StackPanel Orientation="Horizontal"/> </ItemsPanelT...
by asusralis
12 Dec 2018, 18:17
Forum: General Discussion
Replies: 4
Views: 407

Re: How do I put a grid inside a button?

Hmm, I think I found the problem. I had a textblock style that apparently was overriding the fontsize property - even if you explicitly set it on the button. It seems weird that a style would override a value you set explicitly set on an element. I think my question is now two-fold: 1): Is there any...
by asusralis
12 Dec 2018, 16:54
Forum: General Discussion
Replies: 4
Views: 407

Re: How do I put a grid inside a button?

That makes sense. I forgot I made a control template. I did that so I could change the color of the button states. Is there a way to still do this but easily change the button's content to something other than a textblock when needed? If I didn't put the textblock in the control template, the font s...
by asusralis
09 Dec 2018, 03:51
Forum: General Discussion
Replies: 4
Views: 407

How do I put a grid inside a button?

In WPF, simply putting a grid as the content in a button would work. In Noesis, this exception is thrown:

NoesisException: 'Grid' (Grid) is not a valid value for property 'TextBlock.Text'
Rethrow as NoesisException
by asusralis
02 Dec 2018, 23:13
Forum: General Discussion
Replies: 3
Views: 375

Re: Cannot find child name in Grid.

Awesome, thanks a lot.
by asusralis
02 Dec 2018, 02:02
Forum: General Discussion
Replies: 3
Views: 375

Cannot find child name in Grid.

I'm currently working on a navigation system. When a view is told be be shown, the navigation first looks if a control of that name already exists. If not, it creates the element, gives it a name, and adds it to the children of the root. If it does exist, it will simply enable and show that instead ...
by asusralis
01 Dec 2018, 01:43
Forum: General Discussion
Replies: 5
Views: 431

Re: Setting ListBoxItem's Focusable property inconsistent with WPF.

Awesome, thanks!
by asusralis
28 Nov 2018, 18:09
Forum: General Discussion
Replies: 3
Views: 339

Re: Is CollectionViewSource usable for sorting?

Ah, ok. Thanks. I've read that thread, but I was confused that CollectionViewSource didn't throw a not found exception from Noesis, so I didn't know if it could be used for other things.
by asusralis
28 Nov 2018, 18:06
Forum: General Discussion
Replies: 5
Views: 431

Re: Setting ListBoxItem's Focusable property inconsistent with WPF.

No problem. Quick question: when submitting bugs, what category should you give it? For example, this happens in Unity/C#, but the bug itself is from XAML. I would assume C# would be for bugs ran into in C#, and Unity for Unity. I didn't know, nor think, that this bug is only in C#/Unity, so I put i...