Search found 113 matches
- 30 Mar 2021, 14:22
- Forum: General Discussion
- Replies: 9
- Views: 871
Re: Unable to change button font size
By the way, I found a fix to this problem. I created a few projects with Noesis last week, brand new, and this problem existed; even without a custom button style. After searching it for WPF, I found I had to add this to change a button's font size: <DataTemplate DataType="{x:Type sys:String}"> <Tex...
- 20 Mar 2021, 23:18
- Forum: General Discussion
- Replies: 7
- Views: 758
Re: Visual 'TextBlock' Is not a descendant of the specified ancestor 'RootVisual'
Hey, did you have any idea why this was happening?
- 01 Mar 2021, 22:10
- Forum: General Discussion
- Replies: 4
- Views: 437
Re: How to use content scrolling with a UniformGrid?
Ah, I see. Thanks for the info, I'll figure out something then!
- 01 Mar 2021, 15:27
- Forum: General Discussion
- Replies: 4
- Views: 437
Re: How to use content scrolling with a UniformGrid?
I did have them at an explicit height before, but this only allowed pixel scrolling; it did not allow content scrolling. Would it be possible to do content scrolling, so a row for each scroll, using this method?
- 26 Feb 2021, 21:31
- Forum: General Discussion
- Replies: 4
- Views: 437
How to use content scrolling with a UniformGrid?
I have a UniformGrid with a set number of columns. On screen, two rows at max can show. When the grid becomes three rows, I want to content scroll one row at a time. What it looks like before the third row: https://i.imgur.com/Z8uDeET.png What it looks like with the third row: https://i.imgur.com/4a...
- 23 Feb 2021, 09:28
- Forum: General Discussion
- Replies: 7
- Views: 758
Re: Visual 'TextBlock' Is not a descendant of the specified ancestor 'RootVisual'
Oh I see, thanks for the information. I am doing it here: <ItemsControl.ItemTemplate> <DataTemplate> <StackPanel Margin="0,5,0,0"> <local:TTEx.ToolTipContent> <StackPanel> <TextBlock FontSize="{StaticResource FontSize.Large}" FontWeight="Bold" Foreground="{StaticResource LiveTextColor}" Text="{Bindi...
- 20 Feb 2021, 18:14
- Forum: General Discussion
- Replies: 7
- Views: 758
Re: Visual 'TextBlock' Is not a descendant of the specified ancestor 'RootVisual'
Sorry to ask another thing, but do you know why this wouldn't work when I try to pass a Run through ShowAsync? I get the same "Visual 'Run' is not a descendant of the specified ancestor 'RootVisual'. It works when I pass the TextBlock, but I need to show the tooltip right next to the specific Run. (...
- 20 Feb 2021, 14:55
- Forum: General Discussion
- Replies: 7
- Views: 758
Re: Visual 'TextBlock' Is not a descendant of the specified ancestor 'RootVisual'
Oh, thank you so much! I was so confused for a second with you knowing that existed in the project. I will have to read up on the difference between parent and templated parent, I didn't know that could be a problem.
- 19 Feb 2021, 00:11
- Forum: General Discussion
- Replies: 7
- Views: 758
Visual 'TextBlock' Is not a descendant of the specified ancestor 'RootVisual'
Sometimes, when I try to show a popup I get the specified error above. I am creating a custom system of tooltips that are interactable. I have an attachable property that listens to a MouseOver event. Once this happens, it calls a static method to create a popup and displays it. I add it to my top-l...
- 01 Feb 2021, 13:43
- Forum: General Discussion
- Replies: 2
- Views: 1268
Re: Is it possible to show a noesis view in a render texture?
Hmm, if I understand this correctly it should be rendering the UI, so I might be doing something wrong. I will investigate.
Edit: it was a problem on my end, sorry.
Edit: it was a problem on my end, sorry.