Merge "Don't show resize handle if widget cannot be resized." into sc-dev