public final class LayoutType
extends Enum
The layout attribute gives you easy, per-element control over how your element should render on screen.
| Modifier and Type | Field and Description |
|---|---|
static int |
Container
lets its children define its size, like a normal div
|
static int |
Fill
fills available height & width
|
static int |
Fixed
fixed width & height
|
static int |
FixedHeight
keeps the specified height unchanged
|
static int |
Flex
works like display:flex style
|
static int |
Intrinsic
responsive until it reaches its height and width
|
static int |
Nodisplay
works like display: none style.
|
static int |
Responsive
fills container automatically to aspect ratio
|
public static final int Nodisplay
works like display: none style.
public static final int Fixed
fixed width & height
public static final int Responsive
fills container automatically to aspect ratio
public static final int FixedHeight
keeps the specified height unchanged
public static final int Fill
fills available height & width
public static final int Container
lets its children define its size, like a normal div
public static final int Flex
works like display:flex style
public static final int Intrinsic
responsive until it reaches its height and width
Copyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.