Commit Graph

9 Commits

Author SHA1 Message Date
Robby Findler
993cd40208 Adjust DrRacket so the window can get narrower
For example, a new DrRacket window (with a file named tmp.rkt in the
and 356 afterwards.  This is under mac os x with, I believe, the
default system font sizes. (The file is important because different
languages can have different buttons in the toolbar and the filename's
length itself can affect the minimum size.)

Mostly this change is the addition of a new kind of panel that
lets its children have multiple fixed sizes (as opposed to
just a single minimum size and (optionally  arbitrarily large))
It also adjusts the various toolbar buttons to use this new code.

Also, there's a few tweaks to shrink other things that became the
limiting factor in shrinking the width of the DrRacket window.

Currently, at least for #lang racket programs, the toolbar buttons
along the top of the window are the limiting factor (including the
save button).  With a bogus language (ie, #lang rackeeet), the bottom
bar is the limiting factor, since that will have only the Save, Run,
and Stop buttons.

related to PR 13281
2012-11-29 09:43:05 -06:00
Robby Findler
f61f0830e5 change register-toolbar-button so that it accepts a number
argument and uses that to order the buttons in the DrRacket
panel.

Also, order all of the buttons via these numbers in
a more sane way
2012-02-25 16:57:49 -06:00
Eli Barzilay
fc0fd4b537 Fix a bug where retrieving a submission would get appended to the default #lang line. 2012-02-10 00:43:26 -05:00
Eli Barzilay
7513c027c9 Use "Submit to" instead of "Assignment" for the field name
This way it doesn't clash with courses that might use "Assignment" in
the directory names, or even a different term like "Homework".
2011-09-19 01:48:22 -04:00
Eli Barzilay
c6ad3682eb Some racketization; rearrange and fix "client-gui.rkt" which had some
very broken parts.
2011-09-19 01:46:24 -04:00
Eli Barzilay
bd4a5fb706 Racketized handin-client 2010-09-12 01:53:52 -04:00
Eli Barzilay
606b7f60dc Lots of "~e" to "~.s" changes. 2010-08-25 17:17:01 -04:00
Eli Barzilay
de0cc7771b A lot of "DrScheme" -> "DrRacket"s. 2010-05-17 01:27:03 -04:00
Matthew Flatt
28b4043077 rename all files .ss -> .rkt 2010-04-27 16:50:15 -06:00