pub struct ResolvedDialogTheme {
pub min_width: f32,
pub max_width: f32,
pub min_height: f32,
pub max_height: f32,
pub content_padding: f32,
pub button_spacing: f32,
pub radius: f32,
pub icon_size: f32,
pub button_order: DialogButtonOrder,
pub title_font: ResolvedFontSpec,
}Expand description
Dialog sizing, spacing, button order, and title font.
Fields§
§min_width: f32Minimum dialog width in logical pixels.
max_width: f32Maximum dialog width in logical pixels.
min_height: f32Minimum dialog height in logical pixels.
max_height: f32Maximum dialog height in logical pixels.
content_padding: f32Padding around dialog content.
Horizontal space between dialog buttons.
radius: f32Corner radius in logical pixels.
icon_size: f32Icon size for dialog type icons (warning, error, etc.).
Platform button order convention (e.g., OK/Cancel vs Cancel/OK).
title_font: ResolvedFontSpecDialog title font specification.
Trait Implementations§
Source§impl Clone for ResolvedDialogTheme
impl Clone for ResolvedDialogTheme
Source§fn clone(&self) -> ResolvedDialogTheme
fn clone(&self) -> ResolvedDialogTheme
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ResolvedDialogTheme
impl Debug for ResolvedDialogTheme
Source§impl<'de> Deserialize<'de> for ResolvedDialogTheme
impl<'de> Deserialize<'de> for ResolvedDialogTheme
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ResolvedDialogTheme
impl PartialEq for ResolvedDialogTheme
Source§impl Serialize for ResolvedDialogTheme
impl Serialize for ResolvedDialogTheme
impl StructuralPartialEq for ResolvedDialogTheme
Auto Trait Implementations§
impl Freeze for ResolvedDialogTheme
impl RefUnwindSafe for ResolvedDialogTheme
impl Send for ResolvedDialogTheme
impl Sync for ResolvedDialogTheme
impl Unpin for ResolvedDialogTheme
impl UnsafeUnpin for ResolvedDialogTheme
impl UnwindSafe for ResolvedDialogTheme
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more