sincerely Singaporean

If you have not done so, read this full tutorial on how to use SGEXTN to build an application.

SGWSequentialLongLabel

see header file

see source file

class SGWSequentialLongLabel;

part of SGEXTN module SG_Widgets

SGWidget ⁽㈳㈴㈳㈮㈱㈨㈠㈫ ㈧㈤㈱㈤⁾ multi line text label with adjustable height

detailed description

list of all including inherited members

implementation details

preprocessor file inclusion directive: #include ‹SGWSequentialLongLabel.h›

CMake target for BuildLah: SGEXTN::SG_Widgets

see this link for more information about BuildLah

parent class: SGWLabel

children classes: (none)

instance member functions

SGWSequentialLongLabel(SGWWidget* parent, const SGXString& s, float x1, float x0, float y1, float y0, float w1, float w0, float h1, float h0);

Detailed Description

SGWSequentialLongLabel provides a SGWidget ⁽㈳㈴㈳㈮㈱㈨㈠㈫ ㈧㈤㈱㈤⁾ multi line text label that does not have a fixed height and can be used inside a SGWSequentialScrollView. However, this can only be used in a SGWSequentialScrollView since its changing height would disrupt the layout of other UI elements anywhere else.

Implementation Details

Stores information about the SGWSequentialLongLabel.

SGWSequentialLongLabel(SGWWidget* parent, const SGXString& s, float x1, float x0, float y1, float y0, float w1, float w0, float h1, float h0);

Creates a SGWSequentialLongLabel with parent SGWidget ⁽㈳㈴㈳㈮㈱㈨㈠㈫ ㈧㈤㈱㈤⁾ parent, w-distance ⁽㈳㈴㈳㈮㈱㈨㈠㈫ ㈧㈤㈱㈤⁾ coordinates (x1, x0, y1, y0, w1, w0, ?, ?), text displayed s, and font size as a w-distance ⁽㈳㈴㈳㈮㈱㈨㈠㈫ ㈧㈤㈱㈤⁾ (h1, h0).

Only place this inside a SGWSequentialScrollView.

parent being nullptr is undefined behaviour.

To avoid use after free bugs, deleting a SGWWidget directly will cause a crash. Use SGWWidget::deleteWidget to delete it safely.

©2025 05524F.sg (Singapore)

contact 05524F / report a bug / make a suggestion

about 05524F SINGAPORE values

list of 05524F projects