mirror of
https://github.com/emilk/egui.git
synced 2026-06-26 22:53:14 -04:00
Fix doclinks
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user