Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-7862

ImageView/InstanceView: need to resize combo to proper size if cloud gets renamed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Minor Minor
    • 3.3.x
    • 3.2.0.CR1, 3.2.1.M1, 3.3.0.M1
    • deltacloud
    • None
    • Hide

      1) make sure you have at least 2 clouds available. You need a cloud with a long label and one with a short label (ex. "aaaaaaaaaaaaaaaaaaaaaaa" and "b")
      2) go to cloud view, select the cloud with the short label and choose "Edit Connection" from the context menu
      3) in the wizard: change the name of the cloud to a name that's much longer than name of the other cloud
      4) hit finish
      5) The combo in the image view was resized to the space that is needed to display the full label
      6) now rename it back to a very short name (that is shorter than the other, very long cloud name)
      7) check the size of the combo in the image view

      Result:
      The combo did not shrink again, it still uses the full space that was used to display the long label

      Expected result:
      The combo resized to the space needed to show the whole name

      Show
      1) make sure you have at least 2 clouds available. You need a cloud with a long label and one with a short label (ex. "aaaaaaaaaaaaaaaaaaaaaaa" and "b") 2) go to cloud view, select the cloud with the short label and choose "Edit Connection" from the context menu 3) in the wizard: change the name of the cloud to a name that's much longer than name of the other cloud 4) hit finish 5) The combo in the image view was resized to the space that is needed to display the full label 6) now rename it back to a very short name (that is shorter than the other, very long cloud name) 7) check the size of the combo in the image view Result: The combo did not shrink again, it still uses the full space that was used to display the long label Expected result: The combo resized to the space needed to show the whole name

            adietish@redhat.com André Dietisheim
            adietish@redhat.com André Dietisheim
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: