igiSetNextItemWidth

Sets the width of the next widget (a slider, text box, drop-down and so on). Takes w (Width in pixels).

IGI

Parameters & Returns

Parameters

w Int

Returns

Void

Quick Summary

Sets the width of the next widget (a slider, text box, drop-down and so on). Takes w (Width in pixels).

Technical Exegesis...

Sets the width of the next widget (a slider, text box, drop-down and so on).

Call it every frame, between drawing your game and b2dFlip. See the IGI guide.

Example

Example.bam
igiSetNextItemWidth(120)
volume = igiSliderInt("Volume", volume, 0, 100)