Ok, good luck! Let me know if you need any GWT help. I think Id make it myself just from a composite of base widgets, either as a disclosure panel with a vertical-panel containing a list of colors, or as a gridpanel of some sort with little colored squares to click on. But, again, no right way really lots of options.
~~~~~~ Reviews of anything, by anyone; www.rateoholic.co.uk Please try out my new site and give feedback :) On 31 January 2012 12:03, Ben Hegarty <heg...@gmail.com> wrote: > I decided against a full palette as using it would make it difficult to get > the same colour selected twice, I kinda took all of GWaves HTML and CSS and > was going to use that as a basis for creating a new widget. Sounds like > there isn't much of a preference so I'll just plough on in then :) > > On Fri, Jan 27, 2012 at 4:40 PM, Thomas Wrobel <darkfl...@gmail.com> wrote: > >> Are you using a full palate, or just a selection of colours? >> >> If its a full palate, Id make a png and use that in a bundle. Then >> work out the RGB of where the mouse is over based on its x/y relative >> to the palate. >> (or just direct link with Image.setURL rather then use the bundle - >> the point of bundles is for it to make imagestrips automatically for >> you and thus save on loading, if theres only one image theres not as >> much point. It might inline the image as a data url and provide a >> fullback, which could save loading on smaller images...probably not >> worth it in this case) >> >> If its just a selection of presets colours, however, Id build it at >> runtime. Would make it much easier to adjust later if a color needs to >> be changed or added. >> >> I've seen both used for both, however. I don't think theres a >> preferred method as such. >> >> >> ~~~~~~ >> Reviews of anything, by anyone; >> www.rateoholic.co.uk >> Please try out my new site and give feedback :) >> >> >> >> On 27 January 2012 17:23, Ben Hegarty <heg...@gmail.com> wrote: >> > Hi Guys, >> > I'm working on creating a new widget for the colour selection, as I'm new >> > to the whole GWT/web development stuff, I'm just wondering if the >> preferred >> > method for creating a widget is by defining it in the clientbundle xml or >> > building it at run time? >> > Regards >> > > > > -- > blog:http://thelifeofbenhegs.blogspot.com/ > phone: +447767-322-122