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

TableColumn default minWidth inconsistency

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 6
    • client-libs

      By spec of TableColumn.getMinWidth():
          "The TableColumn's width can't be made less than this either by the user or programmatically. The default minWidth is 15".

      By definition all TableColumn's ctors taking width as a parameter set width and preferred width to this width parameter. At the same time in accordance with above assertions minWidth is set to 15. And calling for example the following constructor
          TableColumn(0, 5)
      leads to TableColumn object where width (5) will be smaller than minWidth (15). This contradicts with cited above assertion for getMinWidth(). This situation needs some clarification in the spec.
      ###@###.### 2005-1-12 17:34:30 GMT

            kwalrathsunw Kathy Walrath (Inactive)
            aglasman Alexander Glasman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: