DVUI

max_size_contentGet

Parameters

#
self:*const Options
*const Options

Source

Implementation

#
pub fn max_size_contentGet(self: *const Options) Size {
    if (self.max_size_content) |msc| {
        return .{ .w = msc.w, .h = msc.h };
    } else {
        return Size.all(dvui.max_float_safe);
    }
}