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

Button minWidth have to be equal to prefWidth and include its label text

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • fx2.0
    • javafx
    • Product: javafx-2.0beta
      Platform: windows-i586
      Build-Number: 2734
      Build-ID: 2011-08-23_05-39-50

      Please see the screenshot. It illustrates that minWidth for button is too small. It has to include whole Button label (which is prefWidth now).

      Here is my conversation with Amy:
      > My understanding is that there are two issues actually:
      > • Min width for button should include label text. I don't see any other valid value of button min width.
      That's a good question. Right now all Labeled controls have a min width that's small, adding "...", but I agree
      that a push button should probably not be cropped.

            Unassigned Unassigned
            mrkam Alexander Kuznetcov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Imported: