Skip to content

Problem with digit leaving the Dial on small screen #364

Open

Description

@Speedy2k

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');
});

Activity

  1. Speedy2k commented on Dec 5, 2019

    @Speedy2k
    Author

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

  2. xpectmore commented on Dec 12, 2019

    @xpectmore

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions