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

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: fx2.0
    • Component/s: javafx
    • Environment:

      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.

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

              Created:
              Updated:
              Imported: