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 Mindset, 04-21-2026, 06:46 AM
              0 responses
              67 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Started by M4ndoo, 04-20-2026, 05:21 PM
              0 responses
              96 views
              0 likes
              Last Post M4ndoo
              by M4ndoo
               
              Started by M4ndoo, 04-19-2026, 05:54 PM
              0 responses
              53 views
              0 likes
              Last Post M4ndoo
              by M4ndoo
               
              Started by cmoran13, 04-16-2026, 01:02 PM
              0 responses
              108 views
              0 likes
              Last Post cmoran13  
              Started by PaulMohn, 04-10-2026, 11:11 AM
              0 responses
              63 views
              0 likes
              Last Post PaulMohn  
              Working...
              X