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
-1
@@ -11,6 +11,7 @@ use crate::{
|
||||
forms::{Editing, Input},
|
||||
primitives::{FocusNext, FocusPrev},
|
||||
theme::{ActiveTheme, ControlSize, TextSize},
|
||||
typography::Ellipsis,
|
||||
};
|
||||
|
||||
pub(crate) type OnCells = Rc<dyn Fn(&[(usize, usize, SharedString)], &mut Window, &mut App)>;
|
||||
@@ -151,7 +152,7 @@ pub(crate) fn grid(face: Face, base: Div, window: &mut Window, cx: &mut App) ->
|
||||
.child(Input::new(field).size(ControlSize::Sm))
|
||||
.into_any_element()
|
||||
}
|
||||
_ => div().min_w_0().truncate().child(text).into_any_element(),
|
||||
_ => Ellipsis::new(text).into_any_element(),
|
||||
};
|
||||
Some(
|
||||
div()
|
||||
|
||||
Reference in new issue
Block a user