snap text on shader
This commit is contained in:
@@ -98,7 +98,7 @@ impl Client {
|
||||
.edit_on(Sense::HoverEnd, move |r, _| {
|
||||
r.color = color;
|
||||
});
|
||||
(rect, text(label)).stack()
|
||||
(rect, text(label).size(30)).stack()
|
||||
}
|
||||
|
||||
let tabs = ui.add(
|
||||
|
||||
Reference in New Issue
Block a user