Sets the color of the focus ring. Default is red `(255, 60, 40)`.
(&mut self, color: impl Into<Color>)
| 235 | |
| 236 | /// Sets the color of the focus ring. Default is red `(255, 60, 40)`. |
| 237 | pub fn ring_color(&mut self, color: impl Into<Color>) -> &mut Self { |
| 238 | self.config.ring_color = Some(color.into()); |
| 239 | self |
| 240 | } |
| 241 | |
| 242 | /// Sets the width (thickness) of the focus ring in pixels. Default is `2`. |
| 243 | pub fn ring_width(&mut self, width: u16) -> &mut Self { |
no outgoing calls