GUI Text Allignment
#1

Is there a way to allign text in the middle in GUI dialog menu?



As you can see im trying to guess what goes where, but it still doesnt match up, how can a i allign things? Thx.
pawn Код:
format(option1,sizeof(option1),"R:                          %dh %dm",PlayerInfo[playerid][pH],PlayerInfo[playerid][pMin]);
        format(option2,sizeof(option2),"B:                          $%d",PlayerInfo[playerid][pCash]);
        format(option3,sizeof(option3),"BD:                                 $%d",PlayerInfo[playerid][pBank]);
        format(option4,sizeof(option4),"A:                               %d",PlayerInfo[playerid][pTel]);
it doesnt quiet work out this way... :/
Reply
#2

Try to do a space before the text, like befor the zero | 0| and like the others same make a new line
Reply
#3

If you want to leave the same amount of gap in the text then instead of putting spaces write \t.Like \n gives a new line in dialog \t gives a space.
It is like pressing Tab in pawno.
Reply
#4

oh thank too i think need create space and now you said need do /t so thank you now im know more thing
Reply
#5

No problem btw its not /t its \t !!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)