MaterialTextFieldLayout
struct · ferroui-themes-material · v0.5.0
struct MaterialTextFieldLayout
Arranges a real text editor together with Material decoration. In particular, outlined labels interpolate from the editor's start edge to the 16dp outline inset, independently of leading-icon and prefix widths. Supporting content contributes to the control's height without stretching the painted container.
Members
TYPEto_refslot_propertylabel_progress_propertyis_outlined_propertysingle_line_propertycontent_padding_propertycontainer_min_height_propertyconstructnewget_slotset_slotlabel_progressset_label_progressis_outlinedset_is_outlinedsingle_lineset_single_linecontent_paddingset_content_paddingcontainer_min_heightset_container_min_height
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<MaterialTextFieldLayout>
Returns a strong reference to this object.
slot_property
fn slot_property() -> &'static AttachedProperty<MaterialTextFieldSlot>
label_progress_property
fn label_progress_property() -> &'static StyledProperty<f64>
0 is the resting label and 1 is minimized. A spatial spring may overshoot.
is_outlined_property
fn is_outlined_property() -> &'static StyledProperty<bool>
single_line_property
fn single_line_property() -> &'static StyledProperty<bool>
content_padding_property
fn content_padding_property() -> &'static StyledProperty<Thickness>
container_min_height_property
fn container_min_height_property() -> &'static StyledProperty<f64>
construct
fn construct() -> Self
new
fn new() -> Ref<Self>
get_slot
fn get_slot(child: &Control) -> MaterialTextFieldSlot
set_slot
fn set_slot(child: &Control, value: MaterialTextFieldSlot)
label_progress
fn label_progress(self: &Self) -> f64
set_label_progress
fn set_label_progress(self: &Self, value: f64)
is_outlined
fn is_outlined(self: &Self) -> bool
set_is_outlined
fn set_is_outlined(self: &Self, value: bool)
single_line
fn single_line(self: &Self) -> bool
set_single_line
fn set_single_line(self: &Self, value: bool)
content_padding
fn content_padding(self: &Self) -> Thickness
set_content_padding
fn set_content_padding(self: &Self, value: Thickness)
container_min_height
fn container_min_height(self: &Self) -> f64
set_container_min_height
fn set_container_min_height(self: &Self, value: f64)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyInputElementImplExtInteractiveImplExtLayoutableImplExtFerroObjectImplExtStyledElementImplExtClassDefaultsVisualImplExtErasedDestructorIntoEitherCastableFrom<ST, Uninit, Uninit>CastableFrom<ST, Initialized, Initialized>Read<Exclusive, BecauseExclusive>ControlImplExtPanelImplExtDerefUpcast<T>Upcast<MaterialTextFieldLayout>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplStyledElementImplVisualImplInteractiveImplInputElementImplControlImplPanelImplLayoutableImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.