Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Custom skin question: change color of the active window title bar

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

    Custom skin question: change color of the active window title bar

    Hello,

    I am trying to change the color scheme for the active window so I know exactly which window is active.

    I am using "Dark" mode presently.

    I would like the active window title bar to be MediumOrchid.

    Unfortunately, when I played with the "Purple" skin that is available as a free download, when I scrolled through the BluePrint file, I found nary an entry that started "FF9" which I presume is the start of the purple color, particularly the purple window title bar (?).

    Could you please tell me which lines need to be adjusted in order for me to get the active window title bar to be MediumOrchid?

    I would greatly appreciate your help,

    #2
    Hello catinabag,

    Are you looking for the BackgroundActiveTab or BackgroundCaptionBarInactive resources?
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hi there,

      Thanks for getting back to me.

      I wish I knew the terminology better, so I cannot actually answer that question properly without a picture.

      Please find attached a picture of a window, and I have highlighted the upper rectangle above the graph. I would like to make this color bling when the window is active (so I am sure I know before I touch a hotkey).

      Could you possibly mention which lines in the BluePrint or perhaps other files in the skins template need adjustment? I would really appreciate your help.

      Comment


        #4
        Hello catinabag,

        BackgroundCaptionBar on line 380 is the title bar color of an active window. BackgroundCaptionBarInactive on line 391 is the title bar color of an inactive window.
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          Great! Thank you, Chelsea! This helps a great deal.

          Comment


            #6
            Hi again - follow-up question:

            I must be doing something incorrectly. I copied those lines from the Purple Skin BluePrint and literally replaced the lines in a modified Dark BluePrint [new folder I created], but it didn't change anything.

            These are the lines I swapped:

            A. From Purple [lines bolded]:

            <!-- Gradient for window caption bar background -->
            <LinearGradientBrush x:Key="BackgroundCaptionBar" StartPoint="0.5,-.45" EndPoint="0.5,1" po:Freeze="true">
            <LinearGradientBrush.GradientStops>
            <GradientStop Color="#811B91" Offset="0"/>
            <GradientStop Color="#3C135B" Offset="1"/>

            </LinearGradientBrush.GradientStops>
            </LinearGradientBrush>

            <!-- Background color for flashing caption bars -->
            <SolidColorBrush x:Key="FlashingCaptionBar" Color="Black" po:Freeze="true"/>

            <!-- Background color for inactive caption bars -->
            <SolidColorBrush x:Key="BackgroundCaptionBarInactive" Color="#FFBBBDBF" po:Freeze="true"/>


            B. Replacing these values in the Modified Dark version:

            <GradientStop Color="#FFFFFFFF" Offset="0"/>
            <GradientStop Color="#FF000000" Offset="1"/>


            and

            <SolidColorBrush x:Key="BackgroundCaptionBarInactive" Color="#FF4D4D4D" po:Freeze="true"/>


            Could you please let me know what I am doing incorrectly? I would greatly appreciate your help! Thank you.

            Comment


              #7
              Hello catinabag,

              Below is a link to a video that demonstrates.
              Chelsea B.NinjaTrader Customer Service

              Comment


                #8
                Thank you so much for the video, that was additional effort on your part, but definitely ensured I didn't mess up again!

                Appreciate your help, Chelsea.

                Comment


                  #9
                  Hello again,

                  I am very pleased to have made an adjustment to the title bar color, but I want to make an additional change and cannot find which lines are relevant.

                  Could you please point me in the correct direction again? I would truly appreciate your help.

                  There are these white piping lines that surround the charts - I have attached a photo for reference. I am very interested in going with a more subdued color for all charts, not just the active window.

                  Thanks for being so helpful, I've really benefited from this support forum this year, and season's greetings to you!

                  Comment


                    #10
                    Hello catinabag,

                    Thank you for your reply.

                    For the active tab border you'd need to modify TabActiveBorder. The inner axis is controlled from ChartControl.xaml > AxisPen, and the outer border with BluePrint.xaml > TabControlBorderBrush.

                    Please let us know if we may be of further assistance to you.
                    Kate W.NinjaTrader Customer Service

                    Comment


                      #11
                      Got it - thank you, and happy holidays!

                      Comment

                      Latest Posts

                      Collapse

                      Topics Statistics Last Post
                      Started by jaybedreamin, Today, 05:56 PM
                      0 responses
                      3 views
                      0 likes
                      Last Post jaybedreamin  
                      Started by DJ888, 04-16-2024, 06:09 PM
                      6 responses
                      18 views
                      0 likes
                      Last Post DJ888
                      by DJ888
                       
                      Started by Jon17, Today, 04:33 PM
                      0 responses
                      1 view
                      0 likes
                      Last Post Jon17
                      by Jon17
                       
                      Started by Javierw.ok, Today, 04:12 PM
                      0 responses
                      6 views
                      0 likes
                      Last Post Javierw.ok  
                      Started by timmbbo, Today, 08:59 AM
                      2 responses
                      10 views
                      0 likes
                      Last Post bltdavid  
                      Working...
                      X