Waldemar Lima Well-Known Member Licensed User Longtime User Nov 2, 2021 #1 Hi guys, I'm having work to change this "blue" set to border on button ... how do I remove it?
Erel B4X founder Staff member Licensed User Longtime User Nov 3, 2021 #2 This is the focus state color. Check this example: https://www.b4x.com/android/forum/threads/css-example.35854/#content Upvote 0
This is the focus state color. Check this example: https://www.b4x.com/android/forum/threads/css-example.35854/#content
TILogistic Expert Licensed User Longtime User Nov 3, 2021 #3 By code: Use CSSUtils B4X: Copy CSSUtils.SetStyleProperty(Button1, "-fx-faint-focus-color", "transparent") CSSUtils.SetStyleProperty(Button1, "-fx-focus-color", "transparent") or by design tip: JavaFX CSS Reference Guide This document describes the JavaFX Cascading Style Sheets (CSS) for JavaFX 2 and explains the styles, values, properties and associated grammar. docs.oracle.com newbedev.com - newbedev Resources and Information. newbedev.com is your first and best source for all of the information you’re looking for. From general topics to more of what you would expect to find here, newbedev.com has it all. We hope you find what you are searching for! newbedev.com Last edited: Nov 3, 2021 Upvote 0
By code: Use CSSUtils B4X: Copy CSSUtils.SetStyleProperty(Button1, "-fx-faint-focus-color", "transparent") CSSUtils.SetStyleProperty(Button1, "-fx-focus-color", "transparent") or by design tip: JavaFX CSS Reference Guide This document describes the JavaFX Cascading Style Sheets (CSS) for JavaFX 2 and explains the styles, values, properties and associated grammar. docs.oracle.com newbedev.com - newbedev Resources and Information. newbedev.com is your first and best source for all of the information you’re looking for. From general topics to more of what you would expect to find here, newbedev.com has it all. We hope you find what you are searching for! newbedev.com