mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 22:00:03 -04:00
Truncate text in clipped Table columns (#5023)
* Closes https://github.com/emilk/egui/issues/5013 * Columns with `clip = true` will have `TextWrapMode::Truncate` set * Added setting `Column::auto_size_this_frame` (acts like a double-click on column resizer) * Set `sizing_pass` on all cells in a column that is being auto-sized (e.g. on double-click) 
This commit is contained in:
@@ -11,7 +11,7 @@ use crate::Ui;
|
||||
/// except for `max_rect` which by default is set to
|
||||
/// the parent [`Ui::available_rect_before_wrap`].
|
||||
#[must_use]
|
||||
#[derive(Default)]
|
||||
#[derive(Clone, Default)]
|
||||
pub struct UiBuilder {
|
||||
pub id_source: Option<Id>,
|
||||
pub ui_stack_info: UiStackInfo,
|
||||
|
||||
Reference in New Issue
Block a user