• Get Started
  • Docs
  • Playground
  • Support
  • Blog

Tabris.js 3.5

  • Getting Started
    • Introduction
    • Quick Start Guide
    • The Tabris.js Developer App
    • Tabris 2.x to 3.x Migration Guide
  • Developer Guide
    • Runtime
    • Module System
    • Widget Basics
    • UI Model
    • Using Selectors
    • Layouts
    • Touch Events
    • Permissions
    • W3C/WHATWG Compatibility
    • Cordova Support
    • TypeScript Support
    • JSX Support
    • Resource Management
    • Debugging
    • Testing
    • Theming Android
    • Build your app
    • Tabris CLI
  • Core Classes
    • ChangeListeners
    • EventObject
    • Listeners
    • Module
    • NativeObject
  • Services
    • app
    • console
    • crypto
    • device
    • devTools
    • fs
    • localStorage
    • navigationBar
    • permission
    • printer
    • sizeMeasurement
    • statusBar
    • tabris
    • Camera
    • InactivityTimer
    • Timer
    • Worker
  • Widgets
    • Overview
    • $
    • contentView
    • drawer
    • Action
    • ActivityIndicator
    • Button
    • CameraView
    • Canvas
    • CanvasContext
    • Cell
    • CheckBox
    • CollectionView
    • Composite
    • ImageView
    • ItemPicker
    • ListView
    • NavigationView
    • Page
    • Picker
    • ProgressBar
    • RadioButton
    • RefreshComposite
    • Row
    • RowLayout
    • ScrollView
    • SearchAction
    • Slider
    • Stack
    • StackLayout
    • Switch
    • Tab
    • TabFolder
    • TextInput
    • TextView
    • ToggleButton
    • Video
    • WebView
    • Widget
    • WidgetCollection
  • Popups
    • ActionSheet
    • ActionSheetItem
    • AlertDialog
    • DateDialog
    • Popover
    • Popup
    • TimeDialog
  • Network
    • fetch
    • Headers
    • Request
    • Response
    • WebSocket
    • XMLHttpRequest
  • Data Types
    • Value Types
    • Blob
    • Color
    • ColorResources
    • Constraint
    • ConstraintLayout
    • File
    • Font
    • FontResources
    • FormData
    • Image
    • ImageBitmap
    • Layout
    • LayoutData
    • LinearGradient
    • List
    • Percent
    • ResourceBuilder
    • Resources
    • TextResources
  • Data Binding
    • Introduction
    • @bind
    • @bindAll
    • @component
    • @event
    • @getById
    • @prop
    • @property
  • Dependency Injection
    • Introduction
    • @inject
    • @injectable
    • @injectionHandler
    • @shared
    • Injector
  • Native Custom Widgets
    • Custom Widgets
    • Custom Widgets - Android
    • Custom Widgets - iOS

Class “Layout”

Object > Layout

Base class for all layout managers.

Type: Layout extends Object
Constructor: protected
Singleton: No
Namespace: tabris
Direct subclasses: ConstraintLayout, RowLayout, StackLayout
JSX Support: No

See also:

JSX layout-baseline.jsx
JSX layout-center.jsx
JSX layout-dynamic.jsx
JSX layout-relative-position.jsx
JSX layout-relative-size.jsx
JSX layout-row.jsx
JSX layout-stack.jsx
JSX layout-transform-translationz.jsx
JSX layout-z-order.jsx
JSX layout.jsx

In this article

See Also

  • Other Versions
  • FAQ
  • Getting Started Ebook

Get involved

Help us improve Tabris.js!

  • GitHub Report issues
  • Slack Join community chat
  • Twitter Follow @tabrisjs

Install the app

Use the Tabris.js app to try examples and run your own snippets.

  • Tabris.js on Google Play
  • Tabris.js on Apple App Store
  • GitHub
  • Blog
  • Contact
  • Privacy Policy
Innoopract logo
©️ 2019 Innoopract