open.mp forum
[Pawn] How to increase the size of DIALOG_STYLE_PASSWORD ? - Printable Version

+ open.mp forum (https://forum.open.mp)
-- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3)
--- Forum: Pawn Scripting (https://forum.open.mp/forumdisplay.php?fid=10)
--- Thread: [Pawn] How to increase the size of DIALOG_STYLE_PASSWORD ? (/showthread.php?tid=1812)



How to increase the size of DIALOG_STYLE_PASSWORD ? - CrypticSin - 2021-03-26

Hi im trying to figure out how to increase the size of this dialogue im using as it's currently at its default size.



Is there a way to enlarge the box so the whole text of the title?is shown?







PHP Code:
? ? ShowPlayerDialog(playeridDIALOG_REGISTERDIALOG_STYLE_PASSWORD"Title: With this text i can only see half of it, how to increase the dialogue size?""Please enter a password below:""Register""Cancel"); 



RE: How to increase the size of DIALOG_STYLE_PASSWORD ? - Ezio_Auditore - 2021-03-26

Nope. Caption's limit is 64 characters.?Here?you can find all the Dialogs limits.


RE: How to increase the size of DIALOG_STYLE_PASSWORD ? - CrypticSin - 2021-03-27

(2021-03-26, 10:52 PM)Ezio_Auditore Wrote: Nope. Caption's limit is 64 characters.?Here?you can find all the Dialogs limits.



Surely there must be a way, because i've seen dialogs with more than the caption limit.


RE: How to increase the size of DIALOG_STYLE_PASSWORD ? - Pinch - 2021-03-27

(2021-03-27, 12:47 AM)CrypticSin Wrote:
(2021-03-26, 10:52 PM)Ezio_Auditore Wrote: Nope. Caption's limit is 64 characters.?Here?you can find all the Dialogs limits.



Surely there must be a way, because i've seen dialogs with more than the caption limit.

Oh but you did not.


RE: How to increase the size of DIALOG_STYLE_PASSWORD ? - CrypticSin - 2021-03-28

(2021-03-27, 01:39 PM)Pinch Wrote:
(2021-03-27, 12:47 AM)CrypticSin Wrote:
(2021-03-26, 10:52 PM)Ezio_Auditore Wrote: Nope. Caption's limit is 64 characters.?Here?you can find all the Dialogs limits.

Surely there must be a way, because i've seen dialogs with more than the caption limit.
Oh but you did not.

How do you stretch it so the whole text is shown like this? Rather than a little box?

https://gyazo.com/2f55571fd55bd03bd07d713ecf66740f


RE: How to increase the size of DIALOG_STYLE_PASSWORD ? - Snow - 2021-03-28

(2021-03-28, 02:07 PM)CrypticSin Wrote:
(2021-03-27, 01:39 PM)Pinch Wrote:
(2021-03-27, 12:47 AM)CrypticSin Wrote:
(2021-03-26, 10:52 PM)Ezio_Auditore Wrote: Nope. Caption's limit is 64 characters.?Here?you can find all the Dialogs limits.



Surely there must be a way, because i've seen dialogs with more than the caption limit.

Oh but you did not.



How do you stretch it so the whole text is shown like this? Rather than a little box?



https://gyazo.com/2f55571fd55bd03bd07d713ecf66740f



That's the normal size imo. What size are you getting? Show it here.


RE: How to increase the size of DIALOG_STYLE_PASSWORD ? - CrypticSin - 2021-03-28

(2021-03-28, 02:29 PM)Snow Wrote:
(2021-03-28, 02:07 PM)CrypticSin Wrote:
(2021-03-27, 01:39 PM)Pinch Wrote:
(2021-03-27, 12:47 AM)CrypticSin Wrote:
(2021-03-26, 10:52 PM)Ezio_Auditore Wrote: Nope. Caption's limit is 64 characters.?Here?you can find all the Dialogs limits.

Surely there must be a way, because i've seen dialogs with more than the caption limit.
Oh but you did not.

How do you stretch it so the whole text is shown like this? Rather than a little box?

https://gyazo.com/2f55571fd55bd03bd07d713ecf66740f

That's the normal size imo. What size are you getting? Show it here.

Hi, I just want to stretch it out a bit more so it shows the full title of the dialogue

This is what mine looks like:
https://gyazo.com/cc81da039cfe4dc99687eada501f2012

Code:
PHP Code:
ShowPlayerDialog(playeridDIALOG_LOGINDIALOG_STYLE_PASSWORD"Welcome Welcome Welcome Welcome ""Please enter your password:""Login""Cancel"); 



RE: How to increase the size of DIALOG_STYLE_PASSWORD ? - Pinch - 2021-03-28

I'm not sure but I think that dialog's width is dependent on the description field rather than tittle one..



Try it like this:

Code:
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "Welcome Welcome Welcome Welcome ", "Hello there, please enter your password:", "Login", "Cancel");



RE: How to increase the size of DIALOG_STYLE_PASSWORD ? - CrypticSin - 2021-03-28

(2021-03-28, 02:46 PM)Pinch Wrote: I'm not sure but I think that dialog's width is dependent on the description field rather than tittle one..



Try it like this:

Code:
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "Welcome Welcome Welcome Welcome ", "Hello there, please enter your password:", "Login", "Cancel");



Oh my god how did i not think of that?!?



Thankyou! That solved my problem!