M Marcob Member Licensed User Longtime User Aug 25, 2021 #1 Maybe I'm missing something, is there a way to fill a pane with a GradientDrawable in Designer avoiding the stepped effect of the color transition? (See attached picture) Attachments Capture.JPG 10.3 KB · Views: 501
Maybe I'm missing something, is there a way to fill a pane with a GradientDrawable in Designer avoiding the stepped effect of the color transition? (See attached picture)
mcqueccu Expert Licensed User Longtime User Aug 25, 2021 #2 I think it have to do with your screen resolution or graphics card You can try CSS Option too and see the difference Upvote 0
I think it have to do with your screen resolution or graphics card You can try CSS Option too and see the difference
Erel B4X founder Staff member Licensed User Longtime User Aug 26, 2021 #3 Looks smooth here: Upvote 0
M Marcob Member Licensed User Longtime User Aug 26, 2021 #4 Thanks for the answers. Maybe the problem could really be due to the graphics card (I'm using Windows 10 with the default display adapter because the specific driver Intel UHD Graphics 620 was giving me problems). However if I create a gradient bitmap with BitmapCreator and then assign the bitmap to an ImageView then it works correctly. Upvote 0
Thanks for the answers. Maybe the problem could really be due to the graphics card (I'm using Windows 10 with the default display adapter because the specific driver Intel UHD Graphics 620 was giving me problems). However if I create a gradient bitmap with BitmapCreator and then assign the bitmap to an ImageView then it works correctly.
LucaMs Expert Licensed User Longtime User Aug 26, 2021 #5 I will try setting my display to the max resolution it supports. Upvote 0
LucaMs Expert Licensed User Longtime User Aug 26, 2021 #6 LucaMs said: I will try setting my display to the max resolution it supports. Click to expand... Done. Unfortunately same result. Upvote 0
LucaMs said: I will try setting my display to the max resolution it supports. Click to expand... Done. Unfortunately same result.
M Marcob Member Licensed User Longtime User Aug 26, 2021 #7 LucaMs said: Done. Unfortunately same result. Click to expand... Given that maybe the problem is not due to my display adapter. Could it be due to the slightly outdated Java version I'm using on my Win10 system (jdk1.8.0_111) ? Upvote 0
LucaMs said: Done. Unfortunately same result. Click to expand... Given that maybe the problem is not due to my display adapter. Could it be due to the slightly outdated Java version I'm using on my Win10 system (jdk1.8.0_111) ?
Erel B4X founder Staff member Licensed User Longtime User Aug 26, 2021 #8 Worth trying. Better to use OpenJDK 11 or 14 anyway. Upvote 0
LucaMs Expert Licensed User Longtime User Aug 26, 2021 #9 Erel said: Worth trying. Better to use OpenJDK 11 or 14 anyway. Click to expand... Note that the image I posted is not a runtime but the "preview". However I changed the system variable from java 8 to 14: and got same result. Upvote 0
Erel said: Worth trying. Better to use OpenJDK 11 or 14 anyway. Click to expand... Note that the image I posted is not a runtime but the "preview". However I changed the system variable from java 8 to 14: and got same result.
Erel B4X founder Staff member Licensed User Longtime User Aug 26, 2021 #10 Upload the project. Upvote 0
LucaMs Expert Licensed User Longtime User Aug 26, 2021 #11 Erel said: Upload the project. Click to expand... Attachments Test.zip Test.zip 1.8 KB · Views: 411 Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Aug 27, 2021 #12 It is smooth here. It probably related to JavaFX and the display driver. Upvote 0