X Tutup
The Wayback Machine - https://web.archive.org/web/20201203170952/https://github.com/NetLogo/NetLogo/issues/1573
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

Make Shape Editor Dialog Resize and Scale #1573

Open
mrerrormessage opened this issue Feb 21, 2018 · 2 comments
Open

Make Shape Editor Dialog Resize and Scale #1573

mrerrormessage opened this issue Feb 21, 2018 · 2 comments

Comments

@mrerrormessage
Copy link
Contributor

@mrerrormessage mrerrormessage commented Feb 21, 2018

Currently, the Shape Editor Dialog ("Tools > Turtle Shapes Editor > Edit") is a dialog that cannot be resized. We would like to be able to resize the dialog and to have the shape display area (the graphicPanel in EditorDialog) increase in size to use the remaining space. Changes for this fix should only affect EditorDialog (and perhaps ShapeView).

@jatincse
Copy link

@jatincse jatincse commented Oct 24, 2020

I am interested in this but i am new to this organization, can you please guide me where to start,So that i begin my open source journey with you.

@LaCuneta
Copy link
Contributor

@LaCuneta LaCuneta commented Oct 26, 2020

Hey @jatincse! Thank you for your interest in contributing to NetLogo.

The first step is to make sure you have the necessary tools installed and a development environment setup. We have documentation on how to do that in the wiki. Once you are able to do a netlogo/run from an sbt session you should be able to start working on the issue.

As Robert outlined, there are two basic steps to complete this task:

  1. Update the shapes EditorDialog to be resizable.
  2. Update the shape graphicPanel to expand to fill any extra space when the dialog is resized. The panel and the shape should remain centered when this happens.

There was a prior attempt to get this working that wound up not getting merged. You can look at the pull request that was made as an extra reference. You do not need to do things how they did it or use that code at all, but it's not a bad place to start.

If you have questions, I recommend asking either in our NetLogo Gitter chat channel, or in the NetLogo devel Google Group.

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

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.
X Tutup