Jump to content

Insert a text input


Cdr.Keen

Recommended Posts

Erm. Um. Hm.

I imagine what you want is this: ISRichTextPanel.lua and ISTextEntryBox.lua in the ISUI directory.

You can see it used in the map selection screen, here

    self.textEntry = ISTextEntryBox:new("", self.textEntryLabel:getX() + self.textEntryLabel:getWidth() + 17, 68, self.width-170, 18);    self.textEntry:initialise();    self.textEntry:instantiate();    self.textEntry:setAnchorLeft(true);    self.textEntry:setAnchorRight(true);    self.textEntry:setAnchorTop(true);    self.textEntry:setAnchorBottom(false);    self:addChild(self.textEntry);. . .        createWorld(MapSelecter.instance.textEntry:getText());

 
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...