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 RookieTrader, Today, 09:37 AM
              4 responses
              17 views
              0 likes
              Last Post RookieTrader  
              Started by PaulMohn, Today, 12:36 PM
              0 responses
              2 views
              0 likes
              Last Post PaulMohn  
              Started by love2code2trade, 04-17-2024, 01:45 PM
              4 responses
              38 views
              0 likes
              Last Post love2code2trade  
              Started by alifarahani, Today, 09:40 AM
              3 responses
              15 views
              0 likes
              Last Post NinjaTrader_Jesse  
              Started by junkone, Today, 11:37 AM
              3 responses
              22 views
              0 likes
              Last Post NinjaTrader_ChelseaB  
              Working...
              X