Edited style to remove expand on widget if canAlter is false