Skip to content

Button's layouts (non button positioning) #48

Description

@tgely

Hi Mottie,

congratulation your perfect project!. I love it :-)

I designed a special speedometer input keyboard with the customLayout but I cant find 'nonButton' spacer.

example:

        customLayout: {
          'default' : [
            '1 2 3 {bksp}',
            '4 5 6 {accept}',
            '7 8 9 {cancel}',
            '0'
          ]
        }

I like that '0' zero button is under '8' button for better design. Is it possible?

I tried css.

 .ui-keyboard-48 {
    width: 10.5em;
}

It would be good if I don't use more keyboard layouts, but i have other keyboards for alfanumeric inputs.

Something like this would be appreciated:

        customLayout: {
          'default' : [
            '1 2 3 {bksp}',
            '4 5 6 {accept}',
            '7 8 9 {cancel}',
            '0 {empty}'
          ]
        }

css:

.ui-keyboard-48 {
    width: 6.5em;
}

or without css

        customLayout: {
          'default' : [
            '1 2 3 {bksp}',
            '4 5 6 {accept}',
            '7 8 9 {cancel}',
            '{empty} 0 {empty} {empty}'
          ]
        }

Note: {empty} - non button

Regards,
tgely

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions