Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

problem with resize screen

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    problem with resize screen

    hi, look that pics :





    the rectangle Yellow i get it to using Draw.Rectangle..

    but if i resize screen it's different as size..

    How can i automatic resize it when i resize screeen?...

    thanks

    #2
    Hello turbofib,

    Thank you for your post.

    I may not understand your inquiry here. Are you detailing that you wish to prevent the resizing of the Rectangle?

    I look forward to your response.

    Comment


      #3
      i want to automatic resize rectangle when i compress or stretch screen

      can i do it?

      Comment


        #4
        Excuse for my english....

        You have understand my problem?

        Comment


          #5
          Hello turbofib,

          Thank you for your response.

          The rectangle should automatically resize to the appropriate points based on the scaling of the chart. Are you trying to prevent the Rectangle from scaling with the bars?

          Comment


            #6





            look that pics..it don't resize..

            the number come out of the rectangle when i resize it

            Comment


              #7
              Hello turbofib,

              Thank you for your response.

              It cannot be avoided that Draw.Text will not scale but the Draw.Rectangle will. You can utilize the OnRender() method to draw your own objects and text to scale as you wish. Please refer to the following link: http://ninjatrader.com/support/helpG...s/onrender.htm

              Please let me know if you have any questions.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Brevo, Today, 01:45 AM
              0 responses
              3 views
              0 likes
              Last Post Brevo
              by Brevo
               
              Started by aussugardefender, Today, 01:07 AM
              0 responses
              3 views
              0 likes
              Last Post aussugardefender  
              Started by pvincent, 06-23-2022, 12:53 PM
              14 responses
              239 views
              0 likes
              Last Post Nyman
              by Nyman
               
              Started by TraderG23, 12-08-2023, 07:56 AM
              9 responses
              384 views
              1 like
              Last Post Gavini
              by Gavini
               
              Started by oviejo, Today, 12:28 AM
              0 responses
              6 views
              0 likes
              Last Post oviejo
              by oviejo
               
              Working...
              X