B4J Question jRLDialogsX library question: Can default input dialog text NOT be auto-selected?

m4.s

Member
Licensed User
Longtime User
I use this library's TextInputDialog4 method, and any passed default text gets automatically highlighted in a very light gray color - making the text almost unreadable (as shown):



If the auto-selection cannot be disabled, might there be a CSS-based or other option?
 

m4.s

Member
Licensed User
Longtime User
I was able to use CSS to change the text-field auto-selection color via:

B4X:
.text-field{
    -fx-highlight-fill: black;
 }

Being able to optionally disable the auto-selection (highlighting) would be useful at times, and possibly for others. But I'm sticking with the CSS-based solution.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…