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:
ZacharyZhang-NY committed 2026-09-25 23:30:04 -04:00
1 parent efde9d64b0
commit 8d43b7a880
76 files changed
+10311 -173

No files matched your search

+2 -4
View File
@@ -10,6 +10,7 @@ use crate::{
motion,
primitives::{Icon, IconName},
theme::{ActiveTheme, ControlSize, Elevation, IconSize, Radius, TextSize},
typography::Ellipsis,
};
/// One option: a value, the label shown for it, and an optional icon and note.
@@ -130,10 +131,7 @@ pub(crate) fn option_row(
div()
.flex_1()
.min_w_0()
.overflow_hidden()
.text_ellipsis()
.whitespace_nowrap()
.child(choice.label.clone()),
.child(Ellipsis::new(choice.label.clone())),
)
.when_some(choice.note.clone(), |row, note| {
row.child(div().text_color(colors.fg_subtle).child(note))