Skip to content

Commit

Permalink
Prevent wrap on 'Streams' text (#1308)
Browse files Browse the repository at this point in the history
* Prevent wrap on 'Streams' text

* Use wrap = false instead
  • Loading branch information
jleibs committed Feb 15, 2023
1 parent 6a15dc4 commit 3a03da7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/re_viewer/src/ui/time_panel/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ impl TimePanel {
let size = egui::vec2(self.prev_col_width, 28.0);
ui.allocate_ui_with_layout(size, egui::Layout::top_down(egui::Align::LEFT), |ui| {
ui.set_min_size(size);
ui.style_mut().wrap = Some(false);
ui.add_space(4.0); // hack to vertically center the text
ui.strong("Streams");
})
Expand Down

1 comment on commit 3a03da7

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rust Benchmark

Benchmark suite Current: 3a03da7 Previous: 6a15dc4 Ratio
datastore/insert/batch/rects/insert 543890 ns/iter (± 1962) 538905 ns/iter (± 1791) 1.01
datastore/latest_at/batch/rects/query 1851 ns/iter (± 1) 1753 ns/iter (± 3) 1.06
datastore/latest_at/missing_components/primary 352 ns/iter (± 1) 352 ns/iter (± 0) 1
datastore/latest_at/missing_components/secondaries 421 ns/iter (± 1) 422 ns/iter (± 30) 1.00
datastore/range/batch/rects/query 147842 ns/iter (± 184) 148752 ns/iter (± 250) 0.99
mono_points_arrow/generate_message_bundles 47922163 ns/iter (± 1671429) 46575484 ns/iter (± 538633) 1.03
mono_points_arrow/generate_messages 135199566 ns/iter (± 1272957) 125045378 ns/iter (± 1291350) 1.08
mono_points_arrow/encode_log_msg 163408884 ns/iter (± 1812648) 154981974 ns/iter (± 1033326) 1.05
mono_points_arrow/encode_total 348650611 ns/iter (± 2177243) 327683463 ns/iter (± 4208857) 1.06
mono_points_arrow/decode_log_msg 183061383 ns/iter (± 1190031) 175594686 ns/iter (± 1892893) 1.04
mono_points_arrow/decode_message_bundles 73411922 ns/iter (± 1565060) 64643283 ns/iter (± 739192) 1.14
mono_points_arrow/decode_total 249752480 ns/iter (± 1837039) 238132656 ns/iter (± 1793598) 1.05
batch_points_arrow/generate_message_bundles 326504 ns/iter (± 440) 325620 ns/iter (± 569) 1.00
batch_points_arrow/generate_messages 6111 ns/iter (± 16) 6112 ns/iter (± 11) 1.00
batch_points_arrow/encode_log_msg 353258 ns/iter (± 1678) 354695 ns/iter (± 1126) 1.00
batch_points_arrow/encode_total 706403 ns/iter (± 2631) 716557 ns/iter (± 3529) 0.99
batch_points_arrow/decode_log_msg 348791 ns/iter (± 885) 346069 ns/iter (± 1222) 1.01
batch_points_arrow/decode_message_bundles 1998 ns/iter (± 2) 2056 ns/iter (± 5) 0.97
batch_points_arrow/decode_total 353542 ns/iter (± 942) 357583 ns/iter (± 1214) 0.99
arrow_mono_points/insert 7010972118 ns/iter (± 18602921) 6036668855 ns/iter (± 27846690) 1.16
arrow_mono_points/query 1700172 ns/iter (± 8697) 1704415 ns/iter (± 40220) 1.00
arrow_batch_points/insert 2555203 ns/iter (± 7418) 2714365 ns/iter (± 58419) 0.94
arrow_batch_points/query 16426 ns/iter (± 46) 16802 ns/iter (± 32) 0.98
tuid/Tuid::random 34 ns/iter (± 0) 34 ns/iter (± 0) 1

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.