dimanche 5 juin 2016

Set all buttons CSS style to transparent

Hi All,

just a neat little one to set the CSS style of all buttons in one go to transparent using the CSSUtils library.

Code:
  'Set all buttons CSS style to transparent
For Each n As Node In MainForm.RootPane.GetAllViewsRecursive
If n Is Button Then CSSUtils.SetStyleProperty(n, "-fx-background-color", "transparent")
Next


from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/1X54lAX
via IFTTT

Aucun commentaire:

Enregistrer un commentaire