mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 08:21:07 +02:00
CTextbox: add text align option RIGHT
This supports paint of text on the right side of frame and
also considers scroll bar width.
Origin commit data
------------------
Commit: c25edc0b74
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-09-22 (Sat, 22 Sep 2012)
Origin message was:
------------------
*CTextbox: add text align option RIGHT
This supports paint of text on the right side of frame and
also considers scroll bar width.
This commit is contained in:
@@ -93,6 +93,7 @@ class CTextBox
|
||||
AUTO_HIGH = 0x02, //auto adapt frame height to max height, text is painted with auto linebreak
|
||||
SCROLL = 0x04, //frame box contains scrollbars on long text
|
||||
CENTER = 0x40, //paint text centered
|
||||
RIGHT = 0x100, //paint text right
|
||||
NO_AUTO_LINEBREAK = 0x80 //paint text without auto linebreak, cutting text
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user