rectangles
Daniel Zwolenski
zonski at googlemail.com
Thu Apr 26 00:46:00 PDT 2012
How are you layering the rectangles, using StackPane or some other way?
Can you post a little sample of your MigPane code?
For testing layout stuff, I usually just add borders via CSS to the nodes
in the scene. Easier than adding Rectangles over things. There would be
scenarios where this doesn't cut it though.
On Thu, Apr 26, 2012 at 5:28 PM, Pavel Safrata <pavel.safrata at oracle.com>wrote:
> Hello Tom,
> setting mouseTransparent on a node makes it (and all its children)
> completely ignored by the mouse event target picking mechanism. If that
> doesn't work for you there is a severe bug - please let me know what the
> outcomes of your examination are. If you have some code to reproduce the
> situation where mouseTransparent node gets any mouse events, please file it
> as a bug, that should not happen unless you fire the event manually or make
> the node mouseTransparent during a gesture.
> Thanks,
> Pavel
>
>
> On 25.4.2012 22:46, Tom Eugelink wrote:
>
>>
>> Funny is; even if I replace the rectangle with a group which has a Path
>> of four lines as its child, I get the blocking. More examination is
>> required.
>>
>> Tom
>>
>>
>> On 2012-04-25 22:26, Tom Eugelink wrote:
>>
>>>
>>> That is not it. setting fill to null either. I have confirmed that it is
>>> the debug rectangle. Maybe I should create my own version which draws just
>>> four lines.
>>>
>>> Tom
>>>
>>> On 2012-04-25 21:37, Richard Bair wrote:
>>>
>>>> mouseTransparent I think is what you're looking for.
>>>>
>>>> On Apr 25, 2012, at 12:27 PM, Tom Eugelink wrote:
>>>>
>>>> In MigLayoutFX I use rectangles to visualize (debug) the layout. It
>>>>> seems these rectangles block mouse clicks to the underlying controls. Is
>>>>> there any way to make them "border only" so that the clicks pass through?
>>>>>
>>>>> Tom
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>
>>>
>>
>>
More information about the openjfx-dev
mailing list