MCPcopy Create free account
hub / github.com/donkeyteethUX/iced_plot / restyled_border

Function restyled_border

examples/themes_and_styles.rs:370–381  ·  view source on GitHub ↗
(
    style: iced::widget::container::Style,
    color: Color,
    radius: f32,
    width: f32,
)

Source from the content-addressed store, hash-verified

368}
369
370fn restyled_border(
371 style: iced::widget::container::Style,
372 color: Color,
373 radius: f32,
374 width: f32,
375) -> iced::widget::container::Style {
376 style.border(Border {
377 width,
378 radius: radius.into(),
379 color,
380 })
381}
382
383fn grid_style(major: Color, minor: Color, sub_minor: Color) -> GridStyle {
384 GridStyle {

Callers 2

style2Function · 0.85
styled_panelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected