Code Monkey home page Code Monkey logo

Comments (2)

comtel2000 avatar comtel2000 commented on July 17, 2024

The current xml layout use font icons from FontKeyboardFX.ttf because of rendering quality. All the css -fx-shape stuff is no longer used. Please try to change the keyboard xml layout to:

<Key codes="-3" keyLabel="" keyIconStyle=".my-icon" keyWidth="50" />

and add the style class to your css:

.my-icon {
-fx-shape:
        "m 15.072392,63.55427 a 0.74363458,0.74363458 0 0 0 -0.715759,0.775405 l 0,3.757729 a 0.74558131,0.74558131 0 0 0 1.491162,0 l 0,-3.757729 A 0.74363458,0.74363458 0 0 0 15.072392,63.55427 z m -2.385861,1.37187 a 0.74363458,0.74363458 0 0 0 -0.17894,0.05965 c -2.5661184,1.026488 -4.413841,3.577414 -4.413841,6.501469 0,3.834998 3.143892,6.918995 6.978642,6.918995 3.834746,0 6.97864,-3.084246 6.97864,-6.918995 0,-2.923456 -1.848399,-5.474601 -4.413842,-6.501469 a 0.74363458,0.74363458 0 1 0 -0.536818,1.37187 c 2.013874,0.806092 3.459497,2.818881 3.459497,5.129599 0,3.031265 -2.456217,5.427832 -5.487477,5.427832 -3.031263,0 -5.4874794,-2.396816 -5.4874794,-5.427832 0,-2.311044 1.4448634,-4.323714 3.4594964,-5.129599 a 0.74363458,0.74363458 0 0 0 -0.357878,-1.431516 z";

}

That still works for me.

from fx-experience.

magno32 avatar magno32 commented on July 17, 2024

Awesome, this works perfectly, thank you.

To help others, I had to provide my own keyboard layout xml files in package xml.default and
apply the changes that are suggested above. Worked perfectly.

from fx-experience.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.