adjust some style parameters. See #25247