[openbeos-cdt] Re: .pkg installer user interface

  • From: "DarkWyrm" <darkwyrm@xxxxxxxxxxxxx>
  • To: openbeos-cdt@xxxxxxxxxxxxx
  • Date: Tue, 17 Apr 2007 06:50:51 -0400 EDT

> I'd place them above each other because they might require too much
> horizontal space otherwise and that could look not very nice. Also,
Sure. I was going for more of a left-to-right kind of layout, but you 
could easily put the target at the top and the installation type right 
below it and the description below that. That method wouldn't even 
require the Description label, too.

> the "Install" button should IMHO be on the right (I guess your ASCII
> is broken :).
Yep. Broken ASCII. When I typed it all out, it was on the bottom right. 
Stupid line wrapping. :P

> I really like the suggestion to show the size requirements of each
> type within the pop-up menu, but we have to guarantee that this can
> also be seen after you've selected an installation type. Either we
> make the field very wide (does GetPreferredSize() take the label
> widths into account?) or we place an additional BStringView next to
> the field (and maybe remove the size part from the menu items 
> whenever
> a selection was made, and add it back when the menu is opened). Hmm,
> maybe we could even resize the field after each selection, so the
> label will always fit?
The size really should be part of the menu item -- handling the space 
requirements really isn't much of a problem, either. GetPreferredSize 
should work (unlike R5), but because it doesn't work right on R5 I 
normally do a hack which uses StringWidth for the label, 
MaxContentWidth for the menu width, and some extra (static) padding to 
make sure it looks right. Seems to work for the point sizes that I've 
experimented with (10-12). If we don't care about R5's broken layout 
functions, it shouldn't be a problem at all.

--Jon

Other related posts: