testing stuff
This commit is contained in:
@@ -71,7 +71,8 @@ impl Client {
|
||||
),
|
||||
);
|
||||
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 rect = Rect::new(color)
|
||||
@@ -131,7 +132,7 @@ impl Client {
|
||||
(
|
||||
tabs.label("tabs"),
|
||||
(
|
||||
pad_test.pad(10).id_static(main),
|
||||
main,
|
||||
add_button.label("add button"),
|
||||
del_button.label("del button"),
|
||||
info_sect.label("info sect"),
|
||||
|
||||
Reference in New Issue
Block a user