Forums Register Login

text box - GridBagLayout

+Pie Number of slices to send: Send
Hello! I am wondering how I can modify this code correctly so that the size of the text boxes are limited. I've set a size but when I compile and run the text boxes are all a uniform size. I think the problem is that the GridBagLayout I'm using forces them to size to the window but I'm not sure how to change that. Any help would be greatly appreciated! The code is below...

+Pie Number of slices to send: Send
+Pie Number of slices to send: Send
Thanks, now my text boxes are the size I want them to be! Now, though, the text boxes are all lining up on the right edge of the largest text boxes and I want them to line up on the left edge. I'm guessing this has something to to with



but I'm not sure how to fix it. I tried changing relative to west and that just screwed everything up.
+Pie Number of slices to send: Send
Not with what I tried to put up; one of us must have missed something.
Try this and let's see if we're on the same page.
I can't renounce my name. It's on all my stationery! And hinted in this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 2203 times.
Similar Threads
file renaming...
fields not formatted correctly
Not writing to new file...
Button click - String operation
GridBagConstraints Problem
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 02:07:43.