|
hfader in SDK...
The hfader (horizontal kfader) in the SDK should have some way of specifying the width of it's edit control. You can currently specify the label width, but not the width of the edit control that shows the slider's value, and often it is not wide enough to show the value properly.
I am guessing that it calculates the initial size based on the range given when the slider is created (or maybe it uses a fixed size), but, often those values are not the values that are displayed.
i.e.
A range of -1000 to 1000 (used to create the slider) is often displayed as -10.00 to 10.00, and the text often gets cut off.
I suggest adding a parameter to the create_hfader function where you can specify the max number of characters for the edit control, and use that value to size the edit control (and position the slider, etc) when the hfader is created.
Last edited by Russ; Jun 20, 2006 at 09:32 AM.
|