Search found 22 matches
- 11 Mar 2015, 07:49
- Forum: General Discussion
- Replies: 5
- Views: 4183
Re: Render Texture Does not update Alpha
Excellent. I'm not sure what that margin was doing there (presumably Blend inserted it) so I got rid of it and it worked. I'm glad this occurred though, because I wouldn't have known about the clearing occurring only if the root element is the same size as the surface. Thanks for the fast response, ...
- 10 Mar 2015, 18:39
- Forum: General Discussion
- Replies: 5
- Views: 4183
Re: Render Texture Does not update Alpha
I'm having the same problem, but setting the Root element to Background="Transparent" doesn't work, it still overdraws. I have the following xaml: <UserControl xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/...
- 16 Sep 2014, 15:14
- Forum: General Discussion
- Replies: 1
- Views: 2266
[Unity] Crash on startup after upgrading to 1.1.11
I just upgraded the Noesisgui version for our Unity application to v1.1.11, but while it runs fine in the editor, the application crashes during startup if I build and run it. If I check the log file I can see that my startup code runs, but before any image is visible (the screen stays black) the ap...
- 18 Aug 2014, 16:20
- Forum: General Discussion
- Replies: 4
- Views: 3104
Re: [Unity] TextTrimming causes extra vertical whitespace
Sure. I used this XAML: <StackPanel Width="130" Grid.ColumnSpan="2"> <TextBlock TextWrapping="NoWrap" TextTrimming="CharacterEllipsis">Short line of text.</TextBlock> <TextBlock TextWrapping="NoWrap" TextTrimming="CharacterEllipsis">Longer ...
- 18 Aug 2014, 15:00
- Forum: General Discussion
- Replies: 4
- Views: 3104
[Unity] TextTrimming causes extra vertical whitespace
If I have a bunch of textblocks in a stackpanel with Textwrapping set to NoWrap and TextTrimming set to CharacterEllipsis or WordEllipsis, I expect the result to be something like this: Line that fits within the bounds. Line that doesn't fit within th... Another line that fits. Another line that doe...
- 07 Aug 2014, 14:44
- Forum: General Discussion
- Replies: 5
- Views: 3422
Re: [Unity] Ignoring unknown type 'mscorlib.Double'
Thanks, then I know I can stop looking for a way to get this to work. I can make do with a workaround for now. Thanks for the information!
- 07 Aug 2014, 08:59
- Forum: General Discussion
- Replies: 5
- Views: 3422
Re: Ignoring unknown type 'mscorlib.Double'
If I make them singles, I just get "Ignoring unknown type 'mscorlib.Single'. Also then Blend and Visual Studio complain that you can't apply an object of the type Single to a property that expects the type Double.
- 06 Aug 2014, 16:41
- Forum: General Discussion
- Replies: 1
- Views: 1748
[Unity] Using a custom type in ItemCollection
I have XAML containing an ItemsControl. I wish to fill the Items property of this ItemsControl with objects of a custom type, like so: var itemsControl = FindName<ItemsControl>("MyItemsControl"); var itemCollection = itemsControl.GetItems(); foreach (Foo item in myFooItems) { itemCollectio...
- 06 Aug 2014, 16:02
- Forum: General Discussion
- Replies: 5
- Views: 3422
[Unity] Ignoring unknown type 'mscorlib.Double'
I have a resource dictionary that defines some default values for widths, radiuses, fontsizes, etc. I've defined these as follows: <System:Double x:Key="MessageCornderRadius">6</System:Double> <System:Double x:Key="MessageWidth">400</System:Double> <System:Double x:Key="Mess...
- 29 Jun 2014, 10:04
- Forum: General Discussion
- Replies: 2
- Views: 2525
Re: [Unity] Working with tags
I guess I need to start looking into this As*() thing. Thanks!