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
+2
-4
@@ -14,6 +14,7 @@ use super::{
|
||||
use crate::{
|
||||
primitives::{Icon, IconName, tab_stop},
|
||||
theme::{ActiveTheme, ControlSize, IconSize, Radius},
|
||||
typography::Ellipsis,
|
||||
};
|
||||
|
||||
/// An open list's place and cursor, kept between frames.
|
||||
@@ -117,11 +118,8 @@ pub(crate) fn field_text(
|
||||
div()
|
||||
.flex_1()
|
||||
.min_w_0()
|
||||
.overflow_hidden()
|
||||
.text_ellipsis()
|
||||
.whitespace_nowrap()
|
||||
.text_color(color)
|
||||
.child(text.unwrap_or(placeholder))
|
||||
.child(Ellipsis::new(text.unwrap_or(placeholder)))
|
||||
}
|
||||
|
||||
/// The list a trigger opens: its rows, the one chosen, and whether the trigger holds focus.
|
||||
|
||||
Reference in new issue
Block a user