update legend layout skin for flex component