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

FlowPane minSize is too big

XMLWordPrintable

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

      See the screenshot. Min width of FlowPane is bigger than its content which causes this bad layout. According to our conversation with Amy, minWidth for FlowPane should be reduced to the widest node width.

      > • Pref width for FlowPane should be based on its content pref size.
      No. prefWidth of FlowPane is directly related to it's prefWrapLength property. The idea is that it's preferred
      size is fixed and it wraps its content.

      The minWidth of FlowPane should probably be related to the widest node, so we do have a bug because I think
      right now FlowPane returns it's pref width for it's min.

            amfowler Anne Fowler (Inactive)
            mrkam Alexander Kuznetcov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: