Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-5464

EWI: default height of header and rows of DataGrid should be 22 and not 20.

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • mx: DataGrid
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Reproduction:
      By default measuredHeight of row item or header item is 22
      It is currently never used unless for providing some estimate of total height while dataProvider is not assigned.

      Height of a row is determined as follows:
      DataGridCellRenderer derives from UITextField.

      TextField textHeight = fontHeight(default 10) + 4 = 14

      UITextField measuredHeight = textHeight + 4 = 14 + 4 = 18

      rowHeight/headerHeight => measuredHeight + topMargin + bottomMargin = 18 + 2 + 2 = 22.

      So in default case measured row height would be 22.

      Actual Results:

      Expected Results:

      Workaround:

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: