API reference
Preparing search index…

ImGui.CalcItemWidth

  • Calculate item width from the current settings and cursor position.

    Returns

    number

    Resolved item width in pixels after applying the current item-width stack and available space.

    width of item given pushed settings and current cursor position.

    NOT necessarily the width of last item unlike most 'Item' functions.

    Source & inheritance

Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0