Skip to content
This repository has been archived by the owner on Sep 6, 2019. It is now read-only.

IControl text entry prompts bug #9

Open
pylorca opened this issue May 11, 2012 · 3 comments
Open

IControl text entry prompts bug #9

pylorca opened this issue May 11, 2012 · 3 comments

Comments

@pylorca
Copy link

pylorca commented May 11, 2012

there is a bug in the IConttrol prompt (right click on control) , this does not show negative values.
works well with positive values.

this happens on windows, OSX not confirmed yet

@pylorca
Copy link
Author

pylorca commented May 11, 2012

The code:

GetParam(kGain)->InitDouble("Gain", 0.0, -18.0, 18.0, 0.001, "dB");

IBitmap bitmap = pGraphics->LoadIBitmap(BIG_KNOB_ID, BIG_KNOB_FN, 101);
pGainControl = new IKnobMultiControl(this, kGain_X, kGain_Y, kGain, &bitmap,kVertical,DEFAULT_GEARING);
pGraphics->AttachControl(pGainControl);
pGainControl->DisablePrompt(false);

@pylorca
Copy link
Author

pylorca commented May 14, 2012

I've noticed that:

GetParam(kGain)->InitDouble("Gain", 0.0, -18.0, 18.0, 0.01, "dB"); // BUG
GetParam(kGain)->InitDouble("Gain", 0.0, -18.0, 18.0, 0.1, "dB"); // no BUG

@pylorca
Copy link
Author

pylorca commented May 14, 2012

I found a temporary solution:

increase PARAM_EDIT_W size on IControl.cpp

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant