SpinBoxes don't work well for properties of DataTable rows
When adding a UPROPERTY to a struct that extends FTableRowBase (for use in a DataTable) which has a SpinBox widget (the thing you can drag with the mouse to change a numeric value), it does not work well. What I mean with ''not working well'' is that the value only updates once as you drag the mouse, and then no longer updates, as if you had released the mouse.
I suspect this may be related to the user interface responding to the change in value by also updating the rows shown in the top side of the frame for editing a DataTable. I have done some digging through the C++ code and debugging myself, and have noticed that, for some reason, the spinner widget no longer keeps the mouse captured. The OnEndSliderMovement event is only called if you drag the mouse by a VERY tiny amount, such that the mouse is actually still on top of the two little arrows that you first click to start dragging. If you drag the mouse any further, the OnEndSliderMovement event is never called anymore.
Steps to reproduce:
Here's some code for the first 2 steps:
I was able to reproduce the behavior you described in the 4.12.5 engine however when I tested again in 4.13.0 it appears that this is fixed there. You should be able to make a copy of your project in 4.13 and use the slider normally.
answered Sep 21 '16 at 05:18 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here