Regarding charset encoding: You should be able to use any UTF-8 encoded characters, since the XML in the file is assumed to have UTF-8 encoding, unless otherwise specified in the <?xml ..?> declaration.
Is that not working for you? Make sure your editor is using UTF-8 encoding, or else you could try setting a custom encoding in the <?xml encoding="..."/> but I don't recommend that. There is a property called unstretchedwidth and unstretchedheight which are set on a view, and give the native dimensions of the image resource. On 9/27/07, David Smeringe <[EMAIL PROTECTED]> wrote: > Hi Laszlo users, > > I'm trying to build a very simple first time laszlo thing. > > However I have an issue with swedish characters like åäö in attributes. > How is that supposed to be handled? > > This is basicly the setup so far... :) > > <canvas> > <class name="employee" extends="view"> > <attribute name="firstname" value="weknow" /> > <attribute name="lastname" value="weknow" /> > <attribute name="email" value="weknow" /> > <!-- do some things with the employee --> > </class> > > <!-- all employees --> > <employee resource="images/ted_borjesson.jpg" firstname="Ted" > lastname="Börjesson" /> > </canvas> > > Another thing I've been googling for is if there is a way to scale > images propotional, keeping aspects? Or would I have to script that a > little bit checking the resourcewidth and ..height and calculate it? > > Thanks, > > David Smeringe > > -- Henry Minsky Software Architect [EMAIL PROTECTED]
