Fixed enums in widgets

Signed-off-by: Tom Wright <tom@inflatablecookie.com>