Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8101023

Creating an image icon only button should be able to specify the padding of the button via the api and not just through using CSS.

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • fx2.0
    • javafx
    • Windows 7 x64

      In regard to image icon only buttons their is no way to set the padding of the button via a method when using only api calls. I can only create the desired effect through using CSS by specifying -fx-padding: 1 1 1 1; for example. I feel a method function should also be available to the programmer via the button control.

            jgiles Jonathan Giles
            mselleniejfx Mark Sellenies (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: