Skip to content
#

widgets

Here are 509 public repositories matching this topic...

bennetthardwick
bennetthardwick commented Aug 4, 2020

A small change that would make implementing styles for elements with background colours a bit easier. It would match the From<T> for Option<T> impl that you can already use for fields that are Option<Color> (like text_color).

Before:

Style {
    background_color: Some(Color::BLACK.into()),
    text_color: Color::WHITE.into(),
    ..Default::default()
}

After:

cxjs
JoRomcevicS
JoRomcevicS commented Nov 30, 2018

It will be nice to have style options for MsgBox: option to define class, different mods for each button (right now we can define mod but it is the same for both buttons). Also, it will be great to add icons to the MsgBox buttons (button consistency). Thanks!

Improve this page

Add a description, image, and links to the widgets topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the widgets topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.