Fix doclinks
This commit is contained in:
parent
901b7c7994
commit
dfd6a91cb0
2 changed files with 2 additions and 2 deletions
|
@ -345,7 +345,7 @@ pub enum WidgetText {
|
|||
///
|
||||
/// Only [`LayoutJob::text`] and [`LayoutJob::sections`] are guaranteed to be respected.
|
||||
///
|
||||
/// [`LayoutJob::wrap_width`], [`LayoutJob::halign`], [`LayoutJob::justify`]
|
||||
/// [`TextWrapping::max_width`](epaint::text::TextWrapping::max_width), [`LayoutJob::halign`], [`LayoutJob::justify`]
|
||||
/// and [`LayoutJob::first_row_min_height`] will likely be determined by the [`crate::Layout`]
|
||||
/// of the [`Ui`] the widget is placed in.
|
||||
/// If you want all parts of the [`LayoutJob`] respected, then convert it to a
|
||||
|
|
|
@ -65,7 +65,7 @@ pub struct LayoutJob {
|
|||
/// How to horizontally align the text (`Align::LEFT`, `Align::Center`, `Align::RIGHT`).
|
||||
pub halign: Align,
|
||||
|
||||
/// Justify text so that word-wrapped rows fill the whole [`Self::wrap_width`]
|
||||
/// Justify text so that word-wrapped rows fill the whole [`TextWrapping::max_width`]
|
||||
pub justify: bool,
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue