Announcement

Collapse
No announcement yet.

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 charlesugo_1, 05-26-2026, 05:03 PM
              0 responses
              73 views
              0 likes
              Last Post charlesugo_1  
              Started by DannyP96, 05-18-2026, 02:38 PM
              1 response
              152 views
              0 likes
              Last Post NinjaTrader_ChelseaB  
              Started by CarlTrading, 05-11-2026, 05:56 AM
              0 responses
              162 views
              0 likes
              Last Post CarlTrading  
              Started by CarlTrading, 05-10-2026, 08:12 PM
              0 responses
              100 views
              0 likes
              Last Post CarlTrading  
              Started by Hwop38, 05-04-2026, 07:02 PM
              0 responses
              288 views
              0 likes
              Last Post Hwop38
              by Hwop38
               
              Working...
              X