• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] How to increase the size of DIALOG_STYLE_PASSWORD ?
#1
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"); 
  Reply
#2
Nope. Caption's limit is 64 characters.?Here?you can find all the Dialogs limits.
  Reply
#3
(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.
  Reply
#4
(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.
Using Pawn.CMD?

If you're doing so, this is the very first sign that you absolutely shouldn't utilize your all powerful P-Code knowledge in any of the scripting discussion topics.
  Reply
#5
(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
  Reply
#6
(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.
[Image: QIDa2vB.png]

  Reply
#7
(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"); 
  Reply
#8
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");
Using Pawn.CMD?

If you're doing so, this is the very first sign that you absolutely shouldn't utilize your all powerful P-Code knowledge in any of the scripting discussion topics.
  Reply
#9
(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!
  Reply


Forum Jump: