Comments (8)
...Not sure if this is actually that much important
from jfxtras-styles.
Hi @dukke , on screenshots not see difference, you can make gif? If i not mistake kerning also exists when click on fluent design button? No?
from jfxtras-styles.
Look at the position of the "B". Compare the distance on both screenshots between the "B" and the "u"
from jfxtras-styles.
@dukke Hi, yes, i see your small problem, you tried JVM font improve args?
-Dprism.lcdtext=false
- it can be solution for it problem, see please and reply me :)
Usage Example: java -Dprism.lcdtext=false -jar JarExecutableFile.jar
Also, if you not like arguments, you can use System.setProperty("prism.lcdtext", "false")
from jfxtras-styles.
Yep, I already do that.
If you look at the code in the samples you'll see that flag being used. In my PC, a laptop, I needed that to fix the quality of the text rendering. That might not be needed on other monitors.
That actually fixes text quality rendering only (I think). I don't think it interferes with anything else, like kerning and such.
Anyway this is how I'm running JMetro's samples so it still has this problem with that flag set.
To fix this issue (although this issue might not be actually relevant) I think we might need to change the text size when the button shrinks. My thinking is that this happens because JavaFX tries to preserve the text size that was set and as the button shrinks the only way for the text to be smaller while preserving the text size is to mess with the kerning (making letters closer to each other).
This is just an hypothesis, haven't actually verified it.
Thanks Pavel! 👍
from jfxtras-styles.
@dukke ok, i think it not critical bug :), it can be bug in JavaFx, not in your lib, i think it need to close :), or need do solution for it issue, e.g set font size +0.1, or other ways))) good luck with it !
from jfxtras-styles.
Yeah, it's probably not critical.
Setting font size to being a bit smaller might do the trick.
from jfxtras-styles.
Try :) Maybe it be normal solution :))
from jfxtras-styles.
Related Issues (20)
- Button, ToggleButton - Button does not show border on hover when it is focused HOT 1
- Maven Central Repository Does Not Install Correctly HOT 2
- TextField - TextField with "glitched" background when disabled and inside Dialog
- TextFields - Non-Editable TextFields shouldn't have a 'clear' button HOT 2
- Exception "Failed to load skin 'impl.jfxtras.labs.internal.scene.control.skin.ListSpinnerCaspianSkin'" HOT 2
- JMetro NPE when getOverridingStylesheets().add(source). Should throw instructive exception HOT 2
- JMetro: NoSuchMethodError with no code written HOT 16
- DatePicker - changes height when focused HOT 2
- Spurious classifier tags in dependencies in pom.xml HOT 3
- Style a WebView Web Page using JMetro Theme Style HOT 1
- JMetro: JavaFX 16 JDK17 NullPointerException HOT 3
- Some suggestions of Jmetro on Windows 11 HOT 1
- TreeView, TableView, ListView, TreeTableView - not sure if we need styles for pressed:selected and pressed
- New windows ui (winui3) implement HOT 1
- ProgressBar - Switching from indeterminate, to real and finally back to indeterminate doesn't animate
- Charts lose tick label color after applying jmetro HOT 6
- Scrollpane shrink contents when focused
- Wrong Spinner text color inside TabPane HOT 5
- JFXCentral Badge
- The setFill for the Text component does not execute correctly HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jfxtras-styles.