accounts are now real
This commit is contained in:
@@ -2,11 +2,11 @@ use std::time::{Duration, Instant};
|
||||
|
||||
use super::*;
|
||||
|
||||
pub fn error(ui: &mut Ui, msg: &str) -> WidgetId {
|
||||
text(msg)
|
||||
pub fn werror(ui: &mut Ui, msg: &str) -> WidgetId {
|
||||
wtext(msg)
|
||||
.size(20)
|
||||
.color(Color::RED.brighter(0.3))
|
||||
.pad(10)
|
||||
.background(rect(Color::RED).radius(10))
|
||||
.add(ui)
|
||||
.any()
|
||||
}
|
||||
@@ -69,5 +69,5 @@ fn select(id: WidgetId<TextEdit>, client: &mut Client, data: CursorData) {
|
||||
}
|
||||
|
||||
pub fn hint(msg: impl Into<String>) -> TextBuilder {
|
||||
text(msg).size(20).color(Color::GRAY)
|
||||
wtext(msg).size(20).color(Color::GRAY)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user