#include <ubox.hpp>
Inheritance diagram for UFlowbox:
Public Member Functions | |
UFlowbox (const UArgs &a=UArgs::none) | |
virtual const UStyle & | getStyle (UContext *) const |
Static Public Member Functions | |
const UStyle & | makeStyle () |
Static Public Attributes | |
UStyle * | style = null |
Friends | |
UFlowbox & | uflowbox (const UArgs &a=UArgs::none) |
This class is typically used from creating text areas or hypermedia gadgets.
Geometry: this class implements a specific behavior that differs from other boxes: its height changes but its width remains constant when children are modified (= these objects will keep their initial width). The width can be specified by adding an UWidth child. It can also be changed through user interaction if this object is included in a box that is "flexible" in the horizontal direction (see UBox).
UFlowbox (and UTextbox and subclasses) should be used for displaying textual messages that are dynamically changed for optimization purpose.
an UFlowbox is an UBox with UFlowView renderer.