Re: [racket-users] Racket change button% coordinates(X and Y axis)

2016-04-11 Thread Matthew Flatt
At Sun, 10 Apr 2016 08:18:50 -0700 (PDT), Theodor Berza wrote: > The purpose of this project is to make a GUI Builder where the user drags > buttons on a frame and the position of the cursor changes in the code the X > and Y axis. I case you haven't found it already, you might want to take a

Re: [racket-users] Racket change button% coordinates(X and Y axis)

2016-04-10 Thread Jens Axel Søgaard
2016-04-10 17:18 GMT+02:00 Theodor Berza : > I have a button in a frame and when I change the vert-margin and > horiz-margin in the code the button doesn't change it's location but rather > the frame gets smaller or larger. > ... > Someone suggested me to create a

[racket-users] Racket change button% coordinates(X and Y axis)

2016-04-10 Thread Theodor Berza
I have a button in a frame and when I change the vert-margin and horiz-margin in the code the button doesn't change it's location but rather the frame gets smaller or larger. This is the code: (require racket/gui/base) (define frame (new frame% [label "GUI BUILDER"]