Widget grid code style