B4J Question [Reason not found but a solution] Button text color changes on mouse over

Mark Read

Well-Known Member
Licensed User
Longtime User
Maybe I am missing something here.

In the designer, I place a button on my form and set the text color to something other than black. The WYSIWYG Designer shows the new text color. When I move the mouse over the button and then move out, the text color changes to black and stays that way. Moving back over the button, the text is the right color but then changes back to black after moving out.

Why?
 

Mark Read

Well-Known Member
Licensed User
Longtime User
Here is a demo of what I mean.
 

Attachments

  • WYSIWYG-Designer.gif
    96.7 KB · Views: 161
Upvote 0

Mark Read

Well-Known Member
Licensed User
Longtime User
I can reproduce this:

Open a new B4X project in B4J
Open the internal designer
There is already a single button on the panel
Change the background to any color
Change the text to any color

 
Upvote 0

Mark Read

Well-Known Member
Licensed User
Longtime User
Thanks for trying Luca. It is a little annoying.

Just for completeness, I am using Windows 10 Pro 21H1, B4J 9.30 and Java jdk-11.0.1.
 
Upvote 0

Mark Read

Well-Known Member
Licensed User
Longtime User
? No idea. Layout file corrupt maybe?
 
Upvote 0

LucaMs

Expert
Licensed User
Longtime User
Upvote 0

Mark Read

Well-Known Member
Licensed User
Longtime User
Wanted to attach a project but ...

1. Did that, 1st time didn't work (text black). 2nd time it did. Having trouble reproducing the effect now!
2. jdk path is c:\java
3. will try.

Thanks again.
 
Upvote 0

Mark Read

Well-Known Member
Licensed User
Longtime User
Test project is sometimes okay and sometimes not but my main project is not okay.
 

Attachments

  • Thingspeak.zip
    50.3 KB · Views: 138
Upvote 0

Mark Read

Well-Known Member
Licensed User
Longtime User
Tried my project on a second PC (release version) and the problem is there as well.
 
Upvote 0

Mark Read

Well-Known Member
Licensed User
Longtime User
I am glad (or not) that you have found the same problem!
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…