package tiny_libs

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module LayoutSource

Sourcetype constraints = {
  1. min_w : float;
  2. max_w : float;
  3. min_h : float;
  4. max_h : float;
}
Sourceval loose : float -> float -> constraints
Sourceval tight : float -> float -> constraints
Sourcetype 'a t
Sourceval leaf : 'a -> (float * float) -> 'a t
Sourceval space : float -> 'a t
Sourceval spacer : 'a t
Sourceval expand : 'a t -> 'a t
Sourceval stretch : 'a t -> 'a t
Sourceval pad : float -> 'a t -> 'a t
Sourceval center : 'a t -> 'a t
Sourceval row : ?gap:float -> 'a t list -> 'a t
Sourceval column : ?gap:float -> 'a t list -> 'a t
Sourceval measure : constraints -> 'a t -> float * float
Sourceval arrange : Widget.box -> 'a t -> ('a * Widget.box) list