[Roassal] Z-Ordering for ROPopup

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

[Roassal] Z-Ordering for ROPopup

roberto.minelli@usi.ch
Hi,

I am building a visualization in which nodes are layout'd one on top of the other (e.g., a tree map). Thus while I place the nodes I incrementally increment a variable (i.e., the level) and set their #zIndex accordingly so that are placed in the correct way.

I want my nodes to have a popup, thus I am adding @ ROPopup when I construct the ROElement. Unfortunately the ROPopup, even though I assigned a higher zIndex to it, seems not to obey to the z-ordering.

Any help?

Thanks in advance,
R
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: [Roassal] Z-Ordering for ROPopup

Tudor Girba-2
Hi,

I think it is wrong to implement a treemap with a zOrder. It should be implemented with proper nesting.

Doru


On Mon, Oct 7, 2013 at 2:30 PM, [hidden email] <[hidden email]> wrote:
Hi,

I am building a visualization in which nodes are layout'd one on top of the other (e.g., a tree map). Thus while I place the nodes I incrementally increment a variable (i.e., the level) and set their #zIndex accordingly so that are placed in the correct way.

I want my nodes to have a popup, thus I am adding @ ROPopup when I construct the ROElement. Unfortunately the ROPopup, even though I assigned a higher zIndex to it, seems not to obey to the z-ordering.

Any help?

Thanks in advance,
R
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



--

"Every thing has its own flow"

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: [Roassal] Z-Ordering for ROPopup

jfabry
In reply to this post by roberto.minelli@usi.ch
Roberto,

can you try using to use the view stack instead of the view itself?  ROPopup new receivingView: aView stack. This worked for me.


On Oct 7, 2013, at 9:30 AM, [hidden email] wrote:

> Hi,
>
> I am building a visualization in which nodes are layout'd one on top of the other (e.g., a tree map). Thus while I place the nodes I incrementally increment a variable (i.e., the level) and set their #zIndex accordingly so that are placed in the correct way.
>
> I want my nodes to have a popup, thus I am adding @ ROPopup when I construct the ROElement. Unfortunately the ROPopup, even though I assigned a higher zIndex to it, seems not to obey to the z-ordering.
>
> Any help?
>
> Thanks in advance,
> R
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>



---> Save our in-boxes! http://emailcharter.org <---

Johan Fabry   -   http://pleiad.cl/~jfabry
PLEIAD lab  -  Computer Science Department (DCC)  -  University of Chile


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: [Roassal] Z-Ordering for ROPopup

roberto.minelli@usi.ch
Hi,

I just read your answer to the other email.

There is no message #stack in the ROView class. What is your aView parameter?

Cheers,
R

On Oct 7, 2013, at 2:57 PM, Johan Fabry <[hidden email]>
 wrote:

> Roberto,
>
> can you try using to use the view stack instead of the view itself?  ROPopup new receivingView: aView stack. This worked for me.
>
>
> On Oct 7, 2013, at 9:30 AM, [hidden email] wrote:
>
>> Hi,
>>
>> I am building a visualization in which nodes are layout'd one on top of the other (e.g., a tree map). Thus while I place the nodes I incrementally increment a variable (i.e., the level) and set their #zIndex accordingly so that are placed in the correct way.
>>
>> I want my nodes to have a popup, thus I am adding @ ROPopup when I construct the ROElement. Unfortunately the ROPopup, even though I assigned a higher zIndex to it, seems not to obey to the z-ordering.
>>
>> Any help?
>>
>> Thanks in advance,
>> R
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>
>
>
> ---> Save our in-boxes! http://emailcharter.org <---
>
> Johan Fabry   -   http://pleiad.cl/~jfabry
> PLEIAD lab  -  Computer Science Department (DCC)  -  University of Chile
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: [Roassal] Z-Ordering for ROPopup

roberto.minelli@usi.ch
Solved. This trick works like a charm, even though I think it's not the right way to go.

On Oct 7, 2013, at 3:01 PM, [hidden email] wrote:

> Hi,
>
> I just read your answer to the other email.
>
> There is no message #stack in the ROView class. What is your aView parameter?
>
> Cheers,
> R
>
> On Oct 7, 2013, at 2:57 PM, Johan Fabry <[hidden email]>
> wrote:
>
>> Roberto,
>>
>> can you try using to use the view stack instead of the view itself?  ROPopup new receivingView: aView stack. This worked for me.
>>
>>
>> On Oct 7, 2013, at 9:30 AM, [hidden email] wrote:
>>
>>> Hi,
>>>
>>> I am building a visualization in which nodes are layout'd one on top of the other (e.g., a tree map). Thus while I place the nodes I incrementally increment a variable (i.e., the level) and set their #zIndex accordingly so that are placed in the correct way.
>>>
>>> I want my nodes to have a popup, thus I am adding @ ROPopup when I construct the ROElement. Unfortunately the ROPopup, even though I assigned a higher zIndex to it, seems not to obey to the z-ordering.
>>>
>>> Any help?
>>>
>>> Thanks in advance,
>>> R
>>> _______________________________________________
>>> Moose-dev mailing list
>>> [hidden email]
>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>
>>
>>
>>
>> ---> Save our in-boxes! http://emailcharter.org <---
>>
>> Johan Fabry   -   http://pleiad.cl/~jfabry
>> PLEIAD lab  -  Computer Science Department (DCC)  -  University of Chile
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: [Roassal] Z-Ordering for ROPopup

roberto.minelli@usi.ch
In reply to this post by Tudor Girba-2
Hi Doru,

I actually thought about that. At the moment I am finishing the layout with zOrdering.. I don't think is a big issue to move to the proper nesting, let's see. My next step is to move from a ROLayout to a builder, as we discussed previously. Thanks for help.

Cheers,
R

On Oct 7, 2013, at 2:33 PM, Tudor Girba <[hidden email]> wrote:

> Hi,
>
> I think it is wrong to implement a treemap with a zOrder. It should be implemented with proper nesting.
>
> Doru
>
>
> On Mon, Oct 7, 2013 at 2:30 PM, [hidden email] <[hidden email]> wrote:
> Hi,
>
> I am building a visualization in which nodes are layout'd one on top of the other (e.g., a tree map). Thus while I place the nodes I incrementally increment a variable (i.e., the level) and set their #zIndex accordingly so that are placed in the correct way.
>
> I want my nodes to have a popup, thus I am adding @ ROPopup when I construct the ROElement. Unfortunately the ROPopup, even though I assigned a higher zIndex to it, seems not to obey to the z-ordering.
>
> Any help?
>
> Thanks in advance,
> R
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
>
> --
> www.tudorgirba.com
>
> "Every thing has its own flow"
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: [Roassal] Z-Ordering for ROPopup

Tudor Girba-2
Great. Please keep us posted.

Doru


On Mon, Oct 7, 2013 at 3:06 PM, [hidden email] <[hidden email]> wrote:
Hi Doru,

I actually thought about that. At the moment I am finishing the layout with zOrdering.. I don't think is a big issue to move to the proper nesting, let's see. My next step is to move from a ROLayout to a builder, as we discussed previously. Thanks for help.

Cheers,
R

On Oct 7, 2013, at 2:33 PM, Tudor Girba <[hidden email]> wrote:

> Hi,
>
> I think it is wrong to implement a treemap with a zOrder. It should be implemented with proper nesting.
>
> Doru
>
>
> On Mon, Oct 7, 2013 at 2:30 PM, [hidden email] <[hidden email]> wrote:
> Hi,
>
> I am building a visualization in which nodes are layout'd one on top of the other (e.g., a tree map). Thus while I place the nodes I incrementally increment a variable (i.e., the level) and set their #zIndex accordingly so that are placed in the correct way.
>
> I want my nodes to have a popup, thus I am adding @ ROPopup when I construct the ROElement. Unfortunately the ROPopup, even though I assigned a higher zIndex to it, seems not to obey to the z-ordering.
>
> Any help?
>
> Thanks in advance,
> R
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
>
> --
> www.tudorgirba.com
>
> "Every thing has its own flow"
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



--

"Every thing has its own flow"

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: [Roassal] Z-Ordering for ROPopup

abergel
In reply to this post by roberto.minelli@usi.ch
I agree with Doru, using zIndex is not really appropriate in our case.
Nesting is much better

cheers,
Alexandre

On Oct 7, 2013, at 9:30 AM, [hidden email] wrote:

> Hi,
>
> I am building a visualization in which nodes are layout'd one on top of the other (e.g., a tree map). Thus while I place the nodes I incrementally increment a variable (i.e., the level) and set their #zIndex accordingly so that are placed in the correct way.
>
> I want my nodes to have a popup, thus I am adding @ ROPopup when I construct the ROElement. Unfortunately the ROPopup, even though I assigned a higher zIndex to it, seems not to obey to the z-ordering.
>
> Any help?
>
> Thanks in advance,
> R
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev