H/V resize cursors in a JFXPanel
Stephen F Northover
steve.x.northover at oracle.com
Mon Nov 18 11:49:59 PST 2013
This is all great information. If you can prove that RT-26235 is a dup
or related to RT32507, please indicate in the bug reports. Also note
the inconsistency. Please add me to the watchers list if not already there.
On 2013-11-18 7:38 AM, Werner Lehmann wrote:
> still on FX2 I am plagued with a bug that prevents getting h-resize
> (split) cursor in a JFXPanel. This is a known and acknowledged issue, see
> [#RT-26235] SplitPane in JFXPanel: Mouse cursor not changed
> I have looked some more into this and noticed that this really seems
> to affect the h/v-resize cursors only, other cursors work fine, even
> on a JFXPanel. So I am wondering if this might be related to
> [#RT-32507] Cursor.cursor does not accept cursor names with hyphens
> which revolves around h-resize versus h_resize. This is contradicted
> though by the fact that RT-26235 is unresolved in 8 (and even
> scheduled only for 9) while RT-32507 is supposed to be fixed in 8.
> The split cursor is missing everywhere: on a splitpane, on the columns
> of a tableview, on custom controls - all inside JFXPanel, of course. I
> tried to work around this by using "-fx-cursor: h_resize" instead of
> "-fx-cursor: h-resize" but that helps only outside of a JFXPanel (and
> will probably be broken with FX8). Also tried to work around by
> setting the cursor in code: setCursor(Cursor.H_RESIZE) - but even then
> only other cursors work, not the h/v resize ones.
> Any ideas to make this work for FX2 (and maybe even for FX8
> considering the fix version for RT-26235)?
More information about the openjfx-dev