Coder Social home page Coder Social logo

Comments (5)

moomiji avatar moomiji commented on September 26, 2024 1

When you are using UsingSystemTheme, i think we are using os accent color! (I cant remember exactly) so check your os accent color if true, this is by design

Thank you for such a quick reply!

Yeah, the os accent color and the PrimaryBrush is right. This only happens on TabControlInLine, and other controls using PrimaryBrush don't use preset colors.
image

I tried to go back to version 3.3.11, everything is ok.
image

Is that reproduced in your HandyControlDemo?

from handycontrols.

ghost1372 avatar ghost1372 commented on September 26, 2024

When you are using UsingSystemTheme, i think we are using os accent color! (I cant remember exactly) so check your os accent color if true, this is by design

from handycontrols.

ghost1372 avatar ghost1372 commented on September 26, 2024

I am no longer use wpf i moved to winui 3, i think you can overwrite primarybrush (probably there is a accentcolor property if nox you can overwrite by key)

from handycontrols.

moomiji avatar moomiji commented on September 26, 2024

Oh, I know what happan!

In TabControlBaseStyle.xaml, the BorderBrush switched from PrimaryBrush to TitleBrush. The commit is HandyOrg/HandyControl@eb2779f

And different from https://github.com/HandyOrg/HandyControl/blob/624545376fbadcf6f7a36f1ab863706359808fa6/src/Shared/HandyControl_Shared/Themes/Theme.cs#L236 .

HandyControls didn't deal with TitleBrush when using UsingSystemTheme in cb9fc91

from handycontrols.

ghost1372 avatar ghost1372 commented on September 26, 2024

@moomiji sorry for so long delay.
i fixed it in f8bd345
image

from handycontrols.

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.