PriceSizeRatio

Defines the size ratio between the price integer text size and the product name/description text size in PriceModuleVariant.Regular.

For example, with Ratio2by1 (default), the price integer is twice the size of the product name/description. With Ratio3by1, the price integer is three times the size, and with Ratio1by1 they are equal.

Note: When PriceSizeStyle.MixedSize is used in the Price component, the internal ratio between the integer and decimal values remains 2:1 regardless of this setting.

Entries

Link copied to clipboard

2:1 Ratio, Default

Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

the multiplier applied to the product name/description text size to determine the price integer text size.

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.