widget/material: accept nil icon in IconButton.Layout

Signed-off-by: Elias Naur <mail@eliasnaur.com>
example/gophers: fix avatar image scaling

Signed-off-by: Elias Naur <mail@eliasnaur.com>
app/internal/gpu: clip in floating point

Signed-off-by: Elias Naur <mail@eliasnaur.com>
app/internal/gpu: don't apply gamma linearization to alpha values

Signed-off-by: Elias Naur <mail@eliasnaur.com>
example: update gio version

Signed-off-by: Elias Naur <mail@eliasnaur.com>
layout: update tests

Signed-off-by: Elias Naur <mail@eliasnaur.com>
app/internal/window: fix Windows build

Signed-off-by: Elias Naur <mail@eliasnaur.com>
widget/material: don't scale image when constrained

Signed-off-by: Elias Naur <mail@eliasnaur.com>
layout: rename "exp" layout variants to "max"; add "min" variants

Signed-off-by: Elias Naur <mail@eliasnaur.com>
widget/material: don't use translucency for disabled icon buttons

Signed-off-by: Elias Naur <mail@eliasnaur.com>
layout: add "exp" format layout for expanding both constraints

Signed-off-by: Elias Naur <mail@eliasnaur.com>
layout: fix Flex baseline

Signed-off-by: Elias Naur <mail@eliasnaur.com>
layout: skip Flex and Stack Layout when scanning format string

Signed-off-by: Elias Naur <mail@eliasnaur.com>
layout: more doc fixes for layout.Format

Signed-off-by: Elias Naur <mail@eliasnaur.com>
layout: fix godoc.org rendering of layout.Format docs

Signed-off-by: Elias Naur <mail@eliasnaur.com>
layout: add support for layout format strings

Signed-off-by: Elias Naur <mail@eliasnaur.com>
example/gophers: correct baseline to be bottom-aligned

Signed-off-by: Elias Naur <mail@eliasnaur.com>
layout: unexport Context.Layout and make it a function

Layout wasn't used outside package layout, so let's not export it.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
layout: invert baseline to measure positive distance from bottom

With an inverted baseline, the zero value results in the widget
baseline aligned to its bottom.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
layout: correct Align baseline

Signed-off-by: Elias Naur <mail@eliasnaur.com>
Next