phpday 2025 - Call For Papers

Control Box (Arrangement)

(UI 0.9.9)

Introduction

A Box allows the arrangement of other controls

Class synopsis

class UI\Controls\Box extends UI\Control {
/* Constants */
const int Vertical;
/* Properties */
protected $controls;
/* Constructor */
public __construct(int $orientation = UI\Controls\Box::Horizontal)
/* Methods */
public append(Control $control, bool $stretchy = false): int
public delete(int $index): bool
public isPadded(): bool
public setPadded(bool $padded)
/* Inherited methods */
}

Properties

controls

Contains controls, should not be manipulated directly

Table of Contents

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top