Search found 26 matches
- 21 May 2023, 19:40
- Forum: General Discussion
- Replies: 6
- Views: 195
Re: Changing GamepadAccept to work as Key_Enter instead of Key_Space
Missing of pressed state is alright with us, but I'll keep it in mind in case we run into some strange issues with visual states in the future. I've opened a ticket here https://www.noesisengine.com/bugs/view.php?id=2605. I'm not sure I understand it correctly, since you're saying that Enter key sho...
- 17 May 2023, 13:05
- Forum: General Discussion
- Replies: 6
- Views: 195
Re: Changing GamepadAccept to work as Key_Enter instead of Key_Space
So I've made a behavior that maps space to enter via PreviewKeyDown/PreviewKeyUp events. If the key is space it sets e.Handled to true (so the space event doesn't get propagated) and then it raises KeyDown/KeyUp events with the enter key. It works correctly for keyboard - space behaves the same as e...
- 16 May 2023, 16:08
- Forum: General Discussion
- Replies: 6
- Views: 195
Re: Changing GamepadAccept to work as Key_Enter instead of Key_Space
Thank you for the explanation. We've based our system off of the buttons example, so we were using it along with the SetFocus actions on MouseEnter. I now see where the unexpected behaviors were coming from. I think to solve this I'll just override the button or add a behavior that will handle KeyDo...
- 15 May 2023, 13:37
- Forum: General Discussion
- Replies: 6
- Views: 195
Changing GamepadAccept to work as Key_Enter instead of Key_Space
Hello! I have a problem with keyboard/gamepad navigation and I'm not sure how to solve it, I think remapping xbox's A button to enter on the keyboard would fix it. If I have multiple buttons and I hover over one of them with mouse and then change focus with keyboard and press enter, the new keyboard...
- 27 Apr 2023, 11:41
- Forum: General Discussion
- Replies: 1
- Views: 219
Disable viewbox for specific children
Hi! I wanted to ask if there's some way to disable viewbox scaling for one specific image. I have a complicated user control that is inside the Viewbox, and inside that control is one image that I do not want to scale. I do not want to move the image outside that user control, since I want it to be ...
- 08 Apr 2023, 22:17
- Forum: General Discussion
- Replies: 2
- Views: 213
Displaying the mouse cursor in Noesis
Hi. I wanted to ask for some tips regarding cursor rendering. I couldn't really find that much information on it, so here's a couple questions: 1. Does Noesis have any built in cursor rendering functionality? I'm assuming that no - if we want to use cursors via .cur files we have to do that on our e...
- 28 Mar 2023, 11:42
- Forum: General Discussion
- Replies: 3
- Views: 177
Re: Embedded fonts not found in Noesis 3.2
They way you specified also doesn't work - it still doesn't find the font. I also tried /Fonts/#Work Sans and it doesn't work either. ../Fonts/#Work Sans works (the folder structure is like Fonts/FontX.otf and Styles/BaseResourceDictionary.xaml, hence the .. to get correct relative path). There are ...
- 23 Mar 2023, 13:33
- Forum: General Discussion
- Replies: 3
- Views: 177
Embedded fonts not found in Noesis 3.2
Hey. I wanted to ask if we're supposed to change the way fonts are referenced in xaml with the changes in 3.2? I reference fonts like this: <FontFamily x:Key="WorkSansFont">Work Sans, pack://application:,,,/Fonts/#Work Sans, pack://application:,,,/Fonts/#Noto Sans Arabic, pack://applicatio...
- 16 Mar 2023, 13:31
- Forum: General Discussion
- Replies: 1
- Views: 146
Where should weak events be used to avoid memory leaks?
Hi! I am trying to track down memory leaks and reading your documentation regarding that. In the documentation it is recommended to create weak references when attaching to events in code behind https://www.noesisengine.com/docs/Gui.Core.EventsTutorial.html#weak-events-c . I understand why that woul...
- 10 Mar 2023, 08:19
- Forum: General Discussion
- Replies: 5
- Views: 267
Re: ScrollViewer keyboard navigation.
It happens both with directional navigation and tab navigation. Thanks for linking the other thread, it seems to be the same/very similar problem. I didn't test it out in WPF, so I thought it was working like that by design and I was missing some parameter or something. Do you have any estimate when...