T16 Finance: market charts with kinds, volume, profile, studies, drawings, compare, alerts and sync (T16a–b); quotes, book, tape and DOM (T16c); order entry, blotter, risk, options and payoff (T16d); markets, calendars, portfolio and wallet (T16e); typography::Ellipsis ends lines that gpui's truncate clipped; chart notes stack and ticks label round values
This commit is contained in:
76 files changed
+10311
-173
No files matched your search
+12
-13
@@ -94,19 +94,18 @@ impl RenderOnce for TreeTable {
|
||||
theme.tree_indent(),
|
||||
);
|
||||
let columns = Rc::new(self.columns);
|
||||
let head =
|
||||
div()
|
||||
.flex()
|
||||
.items_center()
|
||||
.h(height)
|
||||
.border_b_1()
|
||||
.border_color(colors.border)
|
||||
.text_size(theme.text_size(TextSize::Xs))
|
||||
.font_weight(FontWeight::MEDIUM)
|
||||
.text_color(colors.fg_muted)
|
||||
.children(columns.iter().map(|column| {
|
||||
sized(div().px_3(), column, narrowest).child(column.title.clone())
|
||||
}));
|
||||
let head = div()
|
||||
.flex()
|
||||
.items_center()
|
||||
.h(height)
|
||||
.border_b_1()
|
||||
.border_color(colors.border)
|
||||
.text_size(theme.text_size(TextSize::Xs))
|
||||
.font_weight(FontWeight::MEDIUM)
|
||||
.text_color(colors.fg_muted)
|
||||
.children(columns.iter().map(|column| {
|
||||
sized(div().px_3().flex(), column, narrowest).child(column.title.clone())
|
||||
}));
|
||||
let rows = shown.into_iter().map(|(row, depth)| {
|
||||
assert_eq!(
|
||||
row.cells.len(),
|
||||
|
||||
Reference in new issue
Block a user