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

Add a static GridPane.setFillWidth(Node, boolean) method

    Details

      Description

      In the previous issue

      https://javafx-jira.kenai.com/browse/RT-29810?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

      Eva Krejcirova has been kind enough to explain to me the value of setting GridPane constraints directly on child components rather than on the GridPane, so I thought I would do that, only it turns out that the specific constraint I want to use is not supported.

      While the ColumnConstraints class has both fillWidth, halignment, hgrow and you name it, the GridPane lacks a static setFillWidth method. This forces me to use ColumnConstraints, which sends me back to square one (see rt-29810).

      Since Eva has explained why using the static GridPane methods is important, and since the method is missing, I am guessing this is just an oversight, and I hereby request the addition of

      static void GridPane.setFillWidth(Node, boolean)

        Attachments

          Activity

            People

            • Assignee:
              msladecek Martin Sládeček
              Reporter:
              risaksen Randahl Isaksen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: