Code: Select all
<HorzFormat type="CentreAligned" />
in TaharezLook/MultiLineEditbox in TaharezLook.looknfeel file to align text in a MultiLineEditbox?
Moderators: CEGUI MVP, CEGUI Team
Code: Select all
<HorzFormat type="CentreAligned" />
orlay wrote:What component do you advise me to use for display multi line and aligned text ?
orlay wrote:I tried with static text, I could align it but I can only display the text that fits on the screen because the VertScrollbar did not work.
Code: Select all
static_cast<CEGUI::StaticText *> (myStaticText)->getVertScrollbar()
Code: Select all
static_cast<CEGUI::MultiLineEditbox *> (myStaticText)->getVertScrollbar()
Code: Select all
myStaticText->setProperty("VertScrollbar", "True");
Return to “Offtopic Discussion”
Users browsing this forum: No registered users and 5 guests