GithubHelp home page GithubHelp logo

Comments (6)

Smurf-IV avatar Smurf-IV commented on June 15, 2024 2

Is there a way to track down where it's defined in the code?

Set it in the designer and see what is sets:
kryptonRibbon.RibbonAppButton.AppButtonBaseColorDark = System.Drawing.Color.FromArgb(255, 128, 128);

Then follow the code back and you will see "Yet Another" hardcoded value :-(
[DefaultValue(typeof(Color), "31, 72, 161")]

_formCloseBoxVisible = false;
_appButtonBaseColorDark = _defaultAppBaseColorDark;

from standard-toolkit.

Smurf-IV avatar Smurf-IV commented on June 15, 2024 1

image

from standard-toolkit.

Smurf-IV avatar Smurf-IV commented on June 15, 2024 1

I wonder if we could use the PanelAlternate colour?

No, The "App Button" is normally a different colour from the other ribbon tabs.
I think the theme should be extended to include the three colours required:

  • Dark
  • Light
  • Text.

Actions (to cover the three items above):

  • Close this as answered
  • Create 2 new Feature requests related to this
    • 1 in this repo
    • 1 in the themes palette repo
      Note: Default colours are the current hardcoded (set in the themes - not in code !)

Thoughts ?

from standard-toolkit.

Wagnerp avatar Wagnerp commented on June 15, 2024 1

I wonder if we could use the PanelAlternate colour?

No, The "App Button" is normally a different colour from the other ribbon tabs. I think the theme should be extended to include the three colours required:

  • Dark
  • Light
  • Text.

Actions (to cover the three items above):

  • Close this as answered

  • Create 2 new Feature requests related to this

    • 1 in this repo
    • 1 in the themes palette repo
      Note: Default colours are the current hardcoded (set in the themes - not in code !)

Thoughts ?

I agree, seems that palette functionality will need to be altered

from standard-toolkit.

Wagnerp avatar Wagnerp commented on June 15, 2024

image

Is there a way to track down where it's defined in the code?

from standard-toolkit.

Wagnerp avatar Wagnerp commented on June 15, 2024

Is there a way to track down where it's defined in the code?

Set it in the designer and see what is sets: kryptonRibbon.RibbonAppButton.AppButtonBaseColorDark = System.Drawing.Color.FromArgb(255, 128, 128);

Then follow the code back and you will see "Yet Another" hardcoded value :-( [DefaultValue(typeof(Color), "31, 72, 161")]

I wonder if we could use the PanelAlternate colour?

from standard-toolkit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.