Interface ITooltipComponent.HorizontalGrowing

All Superinterfaces:
ITooltipComponent
All Known Implementing Classes:
GrowingComponent, ItemListComponent
Enclosing interface:
ITooltipComponent

@ClientOnly @OverrideOnly public static interface ITooltipComponent.HorizontalGrowing extends ITooltipComponent
A component that will grow in size relative to overall tooltip width.

The size in which the component will grow is calculated by dividing the available space with the total growing component weight.

  • Nested Class Summary

    Nested classes/interfaces inherited from interface mcp.mobius.waila.api.ITooltipComponent

    ITooltipComponent.HorizontalGrowing
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the height of the component.
    int
    Returns the minimal width of the component.
    default int
    Returns how much the component will grow relative to the rest of the growing components.
    default int
    Deprecated.
    width is dynamically calculated.
    void
    setGrownWidth(int grownWidth)
    Called with the calculated width.

    Methods inherited from interface mcp.mobius.waila.api.ITooltipComponent

    render