Author Topic: Drag and stretch chat window  (Read 2918 times)

Nseries

  • Guest
Drag and stretch chat window
« on: March 26, 2013, 04:25:43 PM »
Здравствуйте, делаю чат, однако, обращаюсь я к вам не из-за самого чата, а из-за того как сделать так, чтобы игрок мог подстраивать его размер и месторасположения. Он должен перетаскиваться по всему пространству и его можно было бы за угол растянуть, + к этому настройки должны сохраняться. Может кто уже сталкивался с этим и может помочь? Спасибо.

Hello, working on a chat, and I need to do, the player can adjust the size and location of the chat window. He should dragged across space and it could be a stretch, + this setting should be recorded. Maybe someone has experienced this and can help? Thank you. Sorry for my English.

Nseries

  • Guest
Re: Drag and stretch chat window
« Reply #1 on: March 26, 2013, 05:46:30 PM »
With drag and drop out, but how make resize?  :-[

PoN

  • Full Member
  • ***
  • Thank You
  • -Given: 1
  • -Receive: 4
  • Posts: 111
    • View Profile
Re: Drag and stretch chat window
« Reply #2 on: March 26, 2013, 09:49:55 PM »
ПОищите на здесь на форуме есть, кто то вынладывал доп фичи для NGUI, там как раз то что вам нужно.
Worked on Doc&DogAge Of Fury 3D. Actually working on WarMach.

galuodo

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 65
    • View Profile
Re: Drag and stretch chat window
« Reply #3 on: March 26, 2013, 10:05:12 PM »
you can refer to the example: calculates the maxLines after resize.
That is easy if you do not have a various line heights~~

Nseries

  • Guest
Re: Drag and stretch chat window
« Reply #4 on: March 27, 2013, 09:51:21 AM »
I do not understand, i need to resize every widget inside panel or a universal solutin? Writting script?