Skip to content

TableView.columnResizePolicy does not accept CONSTRAINED_RESIZE_POLICY #189

@scalasolist

Description

@scalasolist

TableView has a scalafx wrapper. But javafx counterpart has static member CONSTRAINED_RESIZE_POLICY which is missing in the corresponding scalafx companion object.

So it is impossible to assign javafx.TableView.CONSTRAINED_RESIZE_POLICY to the scalafx.TableView.columnResizePolicy

[error]  type mismatch:
[error]  found   : javafx.util.Callback[javafx.scene.control.TableView.ResizeFeatures[_],java.lang.Boolean]
[error]  required: scalafx.scene.control.TableView.ResizeFeatures[GroupForm.this.Elem] => scala.Boolean

There is no explicit CONSTRAINED_RESIZE_POLICY declaration inside the TableView object. And there is no implicit transformation for the Callback type

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions