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

Function styled_panel

examples/themes_and_styles.rs:359–368  ·  view source on GitHub ↗
(
    style: iced::widget::container::Style,
    background: Color,
    border_color: Color,
    radius: f32,
    width: f32,
)

Source from the content-addressed store, hash-verified

357}
358
359fn styled_panel(
360 style: iced::widget::container::Style,
361 background: Color,
362 border_color: Color,
363 radius: f32,
364 width: f32,
365) -> iced::widget::container::Style {
366 let style = style.background(background);
367 restyled_border(style, border_color, radius, width)
368}
369
370fn restyled_border(
371 style: iced::widget::container::Style,

Callers 3

style1Function · 0.85
style2Function · 0.85
style3Function · 0.85

Calls 1

restyled_borderFunction · 0.85

Tested by

no test coverage detected