Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2.0] : Bug with order layout #1822

Closed
Raizo62 opened this issue Jan 27, 2017 · 6 comments
Closed

[2.0] : Bug with order layout #1822

Raizo62 opened this issue Jan 27, 2017 · 6 comments
Assignees
Labels
Milestone

Comments

@Raizo62
Copy link

Raizo62 commented Jan 27, 2017

Hi

I have prepared this lab for my student : I hided several device behind a big green square with the word "site secret"

When my students have loaded my project (same OS : Live Raizo), sometimes, the word was not visibles (perhaps behind the big green square ?)

TP2DecouverteReseau.gns3.txt

@julien-duponchelle julien-duponchelle added this to the 2.0 milestone Jan 30, 2017
@julien-duponchelle
Copy link
Contributor

julien-duponchelle commented Jan 30, 2017

Both are on the same layer (z = 1) we can 't warranty that they will always be render in the same order.

{
    "drawing_id": "0aab7f98-fb8d-4be6-bc36-9a27c34b459d",
    "rotation": 0,
    "svg": "<svg height=\"312\" width=\"345\"><rect fill=\"#55ff00\" fill-opacity=\"1.0\" height=\"312\" stroke=\"#000000\" stroke-width=\"2\" width=\"345\" /></svg>",
    "x": 34,
    "y": -191,
    "z": 1
},
{
    "drawing_id": "9fe5c529-3e79-4823-9770-c24ddaa1f3d7",
    "rotation": 0,
    "svg": "<svg height=\"23\" width=\"88\"><text fill=\"#000000\" fill-opacity=\"1.0\" font-family=\"TypeWriter\" font-size=\"10\" font-weight=\"bold\">Site Secret</text></svg>",
    "x": 149,
    "y": -43,
    "z": 1
}

@Raizo62
Copy link
Author

Raizo62 commented Jan 30, 2017

But i didn't choose to put them in the same layer. I wanted the square to be above.
I just use Raise/Lower.

And "Show layers" don't show the number of text.

@julien-duponchelle
Copy link
Contributor

@grossmj What do you think of that? Should we use z=2 by default for text?

@grossmj
Copy link
Member

grossmj commented Jan 30, 2017 via email

@julien-duponchelle julien-duponchelle self-assigned this Jan 30, 2017
julien-duponchelle added a commit that referenced this issue Jan 30, 2017
@Raizo62
Copy link
Author

Raizo62 commented Jan 30, 2017

But it will be also good to can put text below something ;-)

@julien-duponchelle
Copy link
Contributor

You can change the layer of the text like any drawing object ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants