Comments (8)
Sorry for the late reply. So it looks like this only happens in the NumberTileSkin right?
from tilesfx.
No issues at all. Actually it happens in all the skins but the skins in the last rows are updated in every second and that's why the skin css gets reverted back to the one embedded in TilesFX. That's the reason, they look normal. Since the other skins in the middle row ain't updated in every second dynamically, it just uses the root css and that's why they look strange. It actually gets overridden in all skins.
from tilesfx.
Even when a dialog appears on this Overview
tab, the CSS gets overridden.
from tilesfx.
If the application loses focus, the CSS gets overridden
from tilesfx.
Hmm...interesting because TilesFX only makes very little use of css. Could you provide a simple code example so that I can reproduce your issue?
from tilesfx.
Is it possible for you to checkout the actual project and test it there directly? It would just take 5 mins to set up in Eclipse. I am proposing this as this problem with the CSS override is so weird that I cannot even pinpoint who the real culprit here is and how I can even work it around.
If you are interested to look into the actual application: https://github.com/amitjoy/osgifx
- Install Bndtools from Eclipse Marketplace
- Import all the projects from the checked out
osgifx
directory (File -> Import -> General -> Existing Projects into Workspace and select Search for nested projects) - After successfully importing the projects, make sure all the projects are successfully built in Eclipse (nothing in red)
- Go to
com.osgifx.console.product
project, expand it, double click onosgifx.bndrun
- Click on
Debug OSGi
- The application will start and the very first UI will contain the TilesFX integration
- You can try to lose focus by keeping any of the open application before OSGi.fx and it will override the CSS
- Or you can use tab to switch between open applications in your machine, you will notice that the fonts change most of the times
I managed to get rid of it partially by recreating the tiles every time when the Overview
tab in this application is on focus. But it is also not a rock solid solution and needless to say, not a performant solution as well.
The TilesFX integration tab sources are in com.osgifx.console.ui.overview
project - com.osgifx.console.ui.overview.OverviewFxUI
.
You can easily debug it. I spent quite a good number of hours to fix this until I thought of contacting you for your help.
from tilesfx.
I would prefer a simple example that shows the problem because I cannot reproduce it here with the projects using TilesFX. To me it looks like a redraw issue because the text is scaled in code and no css is involved here.
from tilesfx.
No issues at all. I will then try to create a small example and will let you know. Thanks for your support ๐
from tilesfx.
Related Issues (20)
- Tooltips on Data Points HOT 1
- Support for empty data points HOT 2
- SkinType.TIME requires time in LocalTime HOT 2
- SkinType.CHARACTER can't change description color HOT 1
- Occasionally appearing exception in v17.1.3 HOT 4
- Split module issues when trying to integrate into a Maven application HOT 5
- LineChart display value? HOT 1
- gauge spark line value text is gone HOT 1
- ItemSorting.NONE does not work for BarChart HOT 1
- Tile - Set distance between border and inner object
- In a Java 17 modular project, the demo cannot be run and the resource files cannot be loaded correctly. HOT 1
- Problem with SPARK_LINE when adding same value many times sequentially HOT 2
- Java17 Build error: Could not get unknown property 'ossrhUsername' HOT 3
- JFXCentral Badge
- Version `17.1.31` links against `org.openjfx ยป 20.0.2` HOT 1
- MaxValueVisible/MinValueVisible methods have no effect HOT 1
- Smoothed Chart Tile demo NOT compiling HOT 1
- Smoothed chart tile How to change Y axis start value
- Sparkled Line Tile Runtime Exception
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 tilesfx.