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

Create Widget in the default "Interface" Tab #159

Open
Rizwan606 opened this issue Aug 20, 2016 · 3 comments
Open

Create Widget in the default "Interface" Tab #159

Rizwan606 opened this issue Aug 20, 2016 · 3 comments
Assignees

Comments

@Rizwan606
Copy link

Hi, I have been learning eXtraWidgets extension and it's really a great flexible extension to use. I wanted to know If I can create my widgets (Chooser) in the default interface tab instead of creating a new tab and creating widgets there. I am able to create the chooser in a new tab but all of my other default widgets are in interface tab, so I don't want user to switch between two tabs , I just want to show all my widgets in the default interface tab. Any guidance will be appreciated. Thank you so much.

imageeee

@nicolaspayette
Copy link
Member

This is currently not possible, but I agree that it would be a useful feature. I will look into it when I work on upgrading the extension for the forthcoming NetLogo 6.0.

@Rizwan606
Copy link
Author

Thank you Sir :)

@nicolaspayette
Copy link
Member

nicolaspayette commented Dec 17, 2017

One big obstacle to implementing this: dealing with NetLogo's zooming mechanism. The extra widgets would have to respond to NetLogo's zooming/unzooming events and resize themselves. Ideally, we would need to find a way for this to happen without placing undue burden on external extra widgets authors.

A different approach could be to have a container on NetLogo's interface tab for the extra widgets (a bit like what @arthurhjorth suggests in NetLogo/NetLogo#1531). The container itself could be resized by NetLogo's zoom mechanism, but the widgets inside it wouldn't. It's a bit of a cop out, but it could make implementation much easier.

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

No branches or pull requests

2 participants