From: Daryl V. H. <dva...@sf...> - 2005-05-20 20:20:45
|
Ok, I've written a new Layout manager that arranges the buttons based on what you've mentioned, and it seems to work. I've also added a method called setButtonPanelBackground(Color c) that sets the button panel's background color. Daryl. Daryl Van Humbeck wrote: > Unfortunately, I didn't see what you saw. > > Another problem I have is I only have one platform to test things on > (Windows 98SE), whereas you're probably using Windows XP. > > So, I've looked at my code and tried to figure out what might cause > the problems you mention, and discovered that I'm not packing the > window and then refitting it. > I added that code and think it solves some problems. > > I haven't done anything about the ragged buttons yet, but I'll get to > that soon. Maybe I can use a different Layout manager... > > Please update and test again and see if that solves those problems. > > I do agree that the buttons take up space and a menu would probably do > better. > Maybe some sort of system that lets the user choose from a variety of > different methods of displaying a bunch of actions? > i.e., some buttons, some menu items, some property (right-click) menu > items, etc. > > Just some thoughts. > > Daryl. > > Toby Donaldson wrote: > >> Daryl, >> >> I've been looking at TheButtonMatrix, and I think it's nearly read to >> add to TheMatrix. An essential fix is needed, though: >> >> - The image is not correctly set in the frame. The bottom of the >> frame is too low, and so a gray line is visible. Also, the right side >> of the entire image is apparently covered by the button panel. The >> image must appear precisely in the frame, with no excess space or >> overlapping. >> >> In addition, there are some possible improvements that would probably >> make it better, although we can live without them: >> >> - The button panel background is big, gray, and unappealing. Can it >> be white instead? Can a method to set the button panel background be >> added? >> - When the button panel is put on the left side of the image, the >> right edge of the buttons is ragged because the buttons are not the >> same width. This looks messy and should be fixed, i.e. the buttons >> should be made the same width. >> - After seeing the button panels, I think a menu bar with a menu >> containing the save/load/close features would probably look nicer. >> For beginners, having the buttons right on the screen where they can >> see them is good, because then they don't need to hunt around or >> guess what features are available. But there is so much unused space, >> that after a while I suspect many users will find that to be a bit of >> an eyesore. So a menu bar might be the nicest way to deal with this. >> - And speaking of the menu bar, another possibility is to use a >> mouse-click menu, e.g. when the user, say, right-clicks on the image, >> a menu with the save/load/close options would pop up. For frequent >> users of TheMatrix, this might be popular. >> >> I added the file ButtonTest into your developer package on CVS with a >> few more test rungs, including a few comments. I also add the method >> "enableAllButtons" to TheButtonMatrix. >> >> Toby >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by Oracle Space Sweepstakes >> Want to be the first software developer in space? >> Enter now for the Oracle Space Sweepstakes! >> http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click >> _______________________________________________ >> csjava-developer mailing list >> csj...@li... >> https://lists.sourceforge.net/lists/listinfo/csjava-developer >> >> >> > > > -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.322 / Virus Database: 266.11.14 - Release Date: 20/05/05 |