Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Draw.TextFixed() Issue

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

    #16
    Originally posted by NinjaTrader_Dave View Post
    IsOutlineVisible is being set to False within State.Configure on these classes, and there is currently no logic in place to automatically set it to True when the constructors which take Outline Brush arguments are used. If you'd like, I can log this as a suggested enhancement of Draw.Text and Draw.TextFixed, to see if we can automatically switch the value of IsOutlineVisible when those overloads are used.
    It probably doesn't matter much except it is one more thing to remember to change when porting code from NT7 to NT8.
    eDanny
    NinjaTrader Ecosystem Vendor - Integrity Traders

    Comment


      #17
      Originally posted by eDanny View Post
      It probably doesn't matter much except it is one more thing to remember to change when porting code from NT7 to NT8.
      And for those DrawObjects that are used too extensively, in too many NT7 classes of your offerings, write a translation method that uses the NT7 name and signature, and wraps the NT8 method.

      Lord knows that is what I did for DrawTextFixed(...), which is in so many of my NT7 offerings. I simply did not want to do a manual search and replace: I am way too lazy to do that.

      Comment


        #18
        Sounds good to me, thanks.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, Yesterday, 09:41 PM
        1 response
        12 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        28 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        28 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-25-2026, 09:53 PM
        0 responses
        33 views
        0 likes
        Last Post CaptainJack  
        Started by CaptainJack, 03-25-2026, 09:51 PM
        0 responses
        19 views
        0 likes
        Last Post CaptainJack  
        Working...
        X