View Single Post
  #4  
Old 06-12-2008, 06:06 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by projectigi View Post
actually its styled? o.o
Then, the way you have it set up makes it very hard to read.
Quote:
if you mean commenting then

having a guiscrollctrl with a text inside
the guiscrollctrl should be wide enough to show all of the text but maximum 200 px, if the text is longer it should be wrapped

so i'm trying to set the guiscrollctrl size to the mltextctrlsize
Maybe try something like gettextwidth() to get the text width, and then use that to calculate the size?
__________________
Reply With Quote