-
-
Notifications
You must be signed in to change notification settings - Fork 298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inspector: Add new AdvancedSlider control #192
base: master
Are you sure you want to change the base?
Conversation
This is a large one. Sadly it can not be used with nullable values. |
if (propertyDescriptor.PropertyType == typeof(double)) | ||
{ | ||
return new AdvancedSliderEditorViewModel<double>((double) rangeAttribute.Minimum, (double) rangeAttribute.Maximum) { | ||
Speed = 0.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These should maybe come from an attribute as well.
9dd2aab
to
617e26d
Compare
eccedf2
to
8932ba8
Compare
Rebased on top of #192 |
ddf9a54
to
6cf7cc1
Compare
6cf7cc1
to
b0a9725
Compare
Updated patch to make it easier to set the cursor inside the text field and to make the text box use the key down event for ending editing so that other controls do not handle the key down event first. |
b0a9725
to
ae65cbc
Compare
Updated to support keyboard focus |
This looks quite nice. I'm concerned about the overlap with In any case, I'll wait till #192 is merged, so that the diff here is easier to review. |
7578cd9
to
45f3aa3
Compare
45f3aa3
to
da599fa
Compare
da599fa
to
a8b63c8
Compare
a8b63c8
to
4747bd8
Compare
4747bd8
to
6634b70
Compare
Rebased |
Please could you rebase this again? |
I'll do that, but I'd like to look into addressing your concerns regarding |
1234489
to
3249508
Compare
Replace the old RangeEditor and TextBox numeric editors with the new advanced slider control. The user can use a combination of ALT, CTRL and SHIFT keys to adjust the rate of change. The user can also double click the value to edit the value numerically. Signed-off-by: Axel Gembe <[email protected]>
3249508
to
cbb5689
Compare
Replace the old RangeEditor and TextBox numeric editors with the new
advanced slider control. The user can use a combination of ALT, CTRL and
SHIFT keys to adjust the rate of change. The user can also double click
the value to edit the value numerically.
Signed-off-by: Axel Gembe [email protected]
This needs #193 merged first.