doc fixes
This commit is contained in:
parent
2854a84728
commit
4203944892
|
|
@ -10,7 +10,7 @@ pub struct Output {
|
|||
/// If set, open this url.
|
||||
pub open_url: Option<String>,
|
||||
|
||||
/// Response to [`Event::Copy`] or [`Event::Cut`]. Ignore if empty.
|
||||
/// Response to [`crate::Event::Copy`] or [`crate::Event::Cut`]. Ignore if empty.
|
||||
pub copied_text: String,
|
||||
|
||||
/// If `true`, Egui is requesting immediate repaint (i.e. on the next frame).
|
||||
|
|
|
|||
|
|
@ -239,20 +239,22 @@ impl Grid {
|
|||
self
|
||||
}
|
||||
|
||||
/// Set minimum width of each column. Default: [`Spacing::interact_size.x`].
|
||||
/// Set minimum width of each column.
|
||||
/// Default: [`crate::style::Spacing::interact_size`]`.x`.
|
||||
pub fn min_col_width(mut self, min_col_width: f32) -> Self {
|
||||
self.min_col_width = Some(min_col_width);
|
||||
self
|
||||
}
|
||||
|
||||
/// Set minimum height of each row. Default: [`Spacing::interact_size.y`].
|
||||
/// Set minimum height of each row.
|
||||
/// Default: [`crate::style::Spacing::interact_size`]`.y`.
|
||||
pub fn min_row_height(mut self, min_row_height: f32) -> Self {
|
||||
self.min_row_height = Some(min_row_height);
|
||||
self
|
||||
}
|
||||
|
||||
/// Set spacing between columns/rows.
|
||||
/// Default: [`Spacing::item_spacing`].
|
||||
/// Default: [`crate::style::Spacing::item_spacing`].
|
||||
pub fn spacing(mut self, spacing: impl Into<Vec2>) -> Self {
|
||||
self.spacing = Some(spacing.into());
|
||||
self
|
||||
|
|
|
|||
Loading…
Reference in New Issue