17 Apr 19:55
Styling Magritte
From: Keith Hodges <keith_hodges <at> yahoo.co.uk>
Subject: Styling Magritte
Newsgroups: gmane.comp.lang.smalltalk.smallwiki
Date: 2008-04-17 17:55:39 GMT
Subject: Styling Magritte
Newsgroups: gmane.comp.lang.smalltalk.smallwiki
Date: 2008-04-17 17:55:39 GMT
I am interested to know how people are managing to style Magritte Forms. I don't know if attachments get through but I have attached an image of what I have managed to achieve so far... I dont know much about css, but I assumed that it was not possible to take the tables of field key/values generated by magritte and to move things around as much as I would like. I produced my own renderer which renders the key/values, using divs. However I still have some problems. For example, the "Confirm" "Cancel" buttons are rendered outside of the form as a decoration. As such they have no knowledge of the form that they are operating on, and so render without any identifiable "class". Style applied to them applies to all uses of "Confirm"/"Cancel" buttons. It looks to me like some re-architecting is needed here, its not that I dont like the use of the decorator in this instance. I am thinking that this is another instance where the lack of child parent communication is a problem. regards Keith
_______________________________________________ SmallWiki, Magritte, Pier and Related Tools ... https://www.iam.unibe.ch/mailman/listinfo/smallwiki(Continue reading)
RSS Feed