testing stuff

This commit is contained in:
2025-08-25 23:11:46 -04:00
parent 94a3ba5837
commit e85b503127

View File

@@ -71,7 +71,8 @@ impl Client {
), ),
); );
let span_add = ui.add_static(Span::empty(Dir::RIGHT)); let span_add = ui.add_static(Span::empty(Dir::RIGHT));
let main: StaticWidgetId<Regioned> = ui.id_static();
let main = ui.add_static(pad_test.pad(10));
let switch_button = |color, to, label| { let switch_button = |color, to, label| {
let rect = Rect::new(color) let rect = Rect::new(color)
@@ -131,7 +132,7 @@ impl Client {
( (
tabs.label("tabs"), tabs.label("tabs"),
( (
pad_test.pad(10).id_static(main), main,
add_button.label("add button"), add_button.label("add button"),
del_button.label("del button"), del_button.label("del button"),
info_sect.label("info sect"), info_sect.label("info sect"),