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

The swatchPanel of a ColorPicker is has a minimum height that you cannot change

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • Adobe Flex SDK 3.0 (Release)
    • mx: ColorPicker
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. Run the bugfile with the following code:
      <?xml version="1.0" encoding="utf-8"?>
      <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="horizontal">
      <mx:Style>
      .customSwatch1

      { columnCount: 30; swatchHeight: 8; swatchWidth: 8; }

      .customSwatch2

      { columnCount: 50; swatchHeight: 8; swatchWidth: 8; }

      </mx:Style>
      <mx:ColorPicker/>
      <mx:ColorPicker swatchPanelStyleName="customSwatch1"/>
      <mx:ColorPicker id="cp" swatchPanelStyleName="customSwatch2" />
      </mx:Application>

      Actual Results: For the second and third ColorPicker, notice the gap at the bottom of the swatchPanel.

      Expected Results: The swatchPanel height should adjust accordingly to have only a few pixels at the bottom instead of this growing gap.

      Workaround (if any):

      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: