discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Proposition for a Gorm feature Was: Gorm too complex ?


From: Gregory Casamento
Subject: Re: Proposition for a Gorm feature Was: Gorm too complex ?
Date: Mon, 11 Feb 2002 18:45:46 -0800 (PST)

See below...
--- Pascal Bourguignon <pjb@informatimago.com> wrote:
> 
> 
> > From: "Lars Sonchocky-Helldorf" <Lars.Sonchocky-Helldorf@bbdo-interone.de>
> > Date: Mon, 11 Feb 2002 21:34:29 +0100
> > 
> > No! Why: because hardcoded Interfaces might look ugly or be rendered 
> > unusuable on different Plattforms (that is in this case GNUstep and Cocoa) 
> > I can show you some screenshots of GWorkspace on Cocoa that look really 
> > ugly (no Mac User would accept this). What you can do in such a situation 
> > is ifdefing the geometrics or have a .nib file for Cocoa and a .gorm or 
> > .gmodel for GNUstep. Guess which solution is easier maintainable. (even if 
> > converting nibs is a pain in the ass)
> > 
> > Greetings, Lars
> 
> He he ! Right. 
> 
> But  that's  one  more  problem  you have  with  InterfaceBuilder  and
> Gorm. They store fixed coordinates in their NIB or gorm files.
> 
> On the other hand, in my "hardcoded" interfaces, I make liberal use of
> sizeToFit: and other automatic layout techniques.

Such things can be done in the awakeFromNib method.

> In the  end, it's less work because  I don't have to  do anything just
> because some traducer added a  new localized strings file. As you have
> it currently  with Gorm  and Interface builder,  you need to  tune the
> interface even in that case. Too much work for me.

It seems like less work to me to do it in the above mentioned method and edit
the GUI using Gorm as I see fit, instead of maintaining pages of generated
code.
 
> > Pascal Bourguignon <pjb@informatimago.com> wrote:
> >
> > Now suggestion:
> > 
> > Instead of writting archives of  user interface objects, why not write
> > Objective-C source code,  that would build this user  interface net of
> > objects instead of unarchiving them.
> 
> -- 
> __Pascal_Bourguignon__              (o_ Software patents are endangering
> ()  ASCII ribbon against html email //\ the computer industry all around
> /\  and Microsoft attachments.      V_/ the world http://lpf.ai.mit.edu/
> 1962:DO20I=1.100  2001:my($f)=`fortune`;  http://petition.eurolinux.org/
> 
> -----BEGIN GEEK CODE BLOCK-----
> Version: 3.1
> GCS/IT d? s++:++(+++)>++ a C+++  UB+++L++++$S+X++++>$ P- L+++ E++ W++
> N++ o-- K- w------ O- M++$ V PS+E++ Y++ PGP++ t+ 5? X+ R !tv b++(+)
> DI+++ D++ G++ e+++ h+(++) r? y---? UF++++
> ------END GEEK CODE BLOCK------
> 
> _______________________________________________
> Discuss-gnustep mailing list
> Discuss-gnustep@gnu.org
> http://mail.gnu.org/mailman/listinfo/discuss-gnustep


=====
Gregory John Casamento
------------------------------------------------------
Please sign the petition against software patents at:
http://www.petitiononline.com/pasp01/petition.html
------------------------------------------------------

__________________________________________________
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]