• Basics
    • WContainerWidget
    • WTemplate
    • WText
    • WAnchor
    • WBreak
    • WImage
    • WGroupBox
    • WStackedWidget
    • WTable
    • WMenu
    • WTree
    • WTreeTable
    • WPanel
    • WTabWidget
    • WProgressBar
  • Form Widgets
    • WPushButton
    • WCheckBox
    • WRadioButton
    • WComboBox
    • WSelectionBox
    • WLineEdit
    • WSpinBox
    • WTextArea
    • WCalendar
    • WDatePicker
    • WInPlaceEdit
    • WSuggestionPopup
    • WTextEdit
    • WFileUpload
    • WPopupMenu
  • Form Validators
  • Ext Widgets
    • Ext::Button
    • Ext::LineEdit
    • Ext::NumberField
    • Ext::CheckBox
    • Ext::ComboBox
    • Ext::RadioButton
    • Ext::Calendar
    • Ext::DateField
    • Ext::Menu/ToolBar
    • Ext::Dialog
  • Vector Graphics
    • Emweb logo example
    • Paintbrush example
  • Special Purpose
    • WGoogleMap
    • WMediaPlayer
    • WSound
    • WVideo
    • WAudio
    • WFlashObject
  • Dialogs
    • WDialog
    • WMessageBox
    • Ext Dialogs
  • Charts
    • Category Charts
    • Scatter Plots
    • Pie Charts
  • MVC Widgets
    • The Models
    • Proxy models
    • Combobox Views
    • WTableView
    • WTreeView
    • Chart Views
  • Events
    • WKeyEvent
    • WMouseEvent
    • WDropEvent
  • Style and Layout
    • CSS
    • WLoadingIndicator
    • WBoxLayout
    • WGridLayout
    • WBorderLayout
WBreak [doc]

A WBreak corresponds to an HTML <br/> element.

WBreak forces a line break between inline widgets. To force inline widgets on a separate line, it is usually more convenient to arrange them in different container widgets. By default, Wt uses CSS to lay out contents, and an important property of each widgets being layed out is whether it is inline (and thus behaves like words organized in lines), or block.

Related topics: Style and Layout.


Events will be shown here.
Build a house
Roof included
Add a door
Add a window
Add furniture
Add a chair
Add a table