I am currently building a UI for my new game and I am using Myra for the first time.
Basically, I want a horizontal list of image buttons. I am using a ScrollViewer with a HorizontalStackPanel as its Content. Something like the following:
This works fine, however, I am not able to scroll horizontally using the scroll wheel. I can only scroll by draging the scroll bar at the bottom. I can use the scroll wheel for vertical scrolling, but not for horizontal.
My workaround to scroll with the scroll wheel is the following:
I am currently building a UI for my new game and I am using Myra for the first time.
Basically, I want a horizontal list of image buttons. I am using a ScrollViewer with a HorizontalStackPanel as its Content. Something like the following:
This works fine, however, I am not able to scroll horizontally using the scroll wheel. I can only scroll by draging the scroll bar at the bottom. I can use the scroll wheel for vertical scrolling, but not for horizontal.
My workaround to scroll with the scroll wheel is the following:
This works well, but I am still curious if there is an easier way to allow horizontal scrolling using the scroll wheel? Thanks.