How do you center?
Author |
Message |
rbb
![](http://www.)
|
Posted: Fri Apr 25, 2003 10:19 am Post subject: How do you center? |
|
|
same as subject |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
tomako
|
Posted: Fri Apr 25, 2003 10:23 am Post subject: (No subject) |
|
|
i dont get what ur trying to say.... ![Embarassed Embarassed](http://compsci.ca/v3/images/smiles/icon_redface.gif) |
|
|
|
|
![](images/spacer.gif) |
Prince
![](http://www.angelfire.com/hiphop3/m-unit_hustla/images/fxckpare.jpg)
|
Posted: Fri Apr 25, 2003 10:29 am Post subject: (No subject) |
|
|
do u mean like to centre text or a gui button or wat?
to centre a gui i think its GUI.CENTER
code: |
ex:
fieldLabel := GUI.CreateLabelFull (50, 130, "The Label For The Field", 100,
0, GUI.CENTER, 0)
|
|
|
|
|
|
![](images/spacer.gif) |
Blade
|
Posted: Fri Apr 25, 2003 10:51 am Post subject: (No subject) |
|
|
center the text?
code: | locate(1,maxcol div 2)
put "hello" |
or... with font.draw
code: | var font:int:=Font.New("Ariel:20")
Font.Draw("hello",maxx div 2, maxy div 2,font,black) |
|
|
|
|
|
![](images/spacer.gif) |
rbb
![](http://www.)
|
Posted: Fri Apr 25, 2003 11:56 am Post subject: I meant how to center text! |
|
|
same as subject |
|
|
|
|
![](images/spacer.gif) |
Asok
![](http://www.battle.net/war3/images/neutral/units/animations/pandarenbrewmaster.gif)
|
Posted: Fri Apr 25, 2003 12:08 pm Post subject: (No subject) |
|
|
Every possible answer is in here...
Locked. |
|
|
|
|
![](images/spacer.gif) |
|
|