Added options for widget orientation and layout order