add appConfig setting desSize and showBorder