Fix doclinks

This commit is contained in:
Emil Ernerfeldt 2022-04-03 20:38:51 +02:00
parent 901b7c7994
commit dfd6a91cb0
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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,
}