Skip to content
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

Problem with digit leaving the Dial on small screen #364

Open
Speedy2k opened this issue Dec 5, 2019 · 2 comments
Open

Problem with digit leaving the Dial on small screen #364

Speedy2k opened this issue Dec 5, 2019 · 2 comments

Comments

@Speedy2k
Copy link

Speedy2k commented Dec 5, 2019

I have a problem where i have a left menu bar that is folded by default, when i unfold the menu bar the digit ket moved away from the dial.

image

image

Here is my layout in the html:

InHg

And my js to generate it!
$(document).ready(function(){
console.log("Document is loaded!");
$(function() {
$("#vacKnob").knob({
'min':0,
'max':30,
'step':'.1',
'angleArc': 250,
'angleOffset':-125,
'width':100,
'height':100,
'fgColor':'#71b444',
'lineCap':'round',
'readOnly':true,
});
});
$("#vacKnob").val(0).trigger('change');
});

@Speedy2k
Copy link
Author

Speedy2k commented Dec 5, 2019

Also another question, how can i modify the max value once the main setup is done ?

@xpectmore
Copy link

if you use the plugin in this way you can improve html input number everywhere :
#365

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

No branches or pull requests

2 participants