Comments (6)
Well, the most noticeable difference is the foreground color - which is in fact how disabled style is usually indicated on windows. Although I agree that there are some similarities
With flat button I was mostly going to try to have the look of this:
In other words, a plain old-style look. Sadly, WPF does not offer any built-in mechanism for this look the way Windows.Forms does, so I had to emulate it, and that was the closest I got.
I remember looking at stackoverflow for this http://stackoverflow.com/questions/697381/setting-button-flatstyle-in-wpf
But I don't remember if I ended up using that solution or something different.
If you can find a better way to solve this problem, consistent with the normal Windows look, I will not oppose the change.
from xwt.
I remember looking at stackoverflow for this http://stackoverflow.com/questions/697381/setting-button-flatstyle-in-wpf
But I don't remember if I ended up using that solution or something different.
You didn't, I tried this exact method just to see how it looked. I'm not sure it's the right look either. I think the intention of @slluis is for a button that blends in, like ShowFrame on TextEntry, but he'd have to clarify. If this is the case, we should mimic GTK.
from xwt.
Yes, when using the flat style, the button should just blend with the background and the border should only be shown when moving the mouse over it.
from xwt.
Sounds like we need to paint it ourselves?
from xwt.
Sounds like we need to paint it ourselves?
I wouldn't say that, we just need a custom style.
from xwt.
Sounds like we need to paint it ourselves?
Probably not. WPF has some pretty good theming features.
from xwt.
Related Issues (20)
- Code review HOT 2
- Add support for keyboard scancode
- [Gkt3] CustomCellRendererComboBox don't show items
- [Request] Docking panels for Xwt
- Can I use VLC to play video in raspberry? HOT 1
- [WPF] ScrollView is broken HOT 1
- XWT + Mono [DLL Notfound Exception] Missing "libwebkitgtk-1.0-0.dll"
- .NET 5
- ToolkitType.AutoDetect
- kill the son of bitch :maui (just limit linux) HOT 1
- [Mac] VPaned resizes dockable Pad VisualStudioMac 2022
- Is there a way to preview the UI design HOT 2
- Support WinRT API - CompactOverlay aka PIP mode
- Exception thrown: 'System.IO.FileNotFoundException' in mscorlib.dll HOT 11
- DllNotFoundException: Unable to load DLL 'libgtk-win32-2.0-0.dll HOT 2
- Drag&Drop WPF
- Drag&Drop XamMac
- Drag&Drop ubuntu, GTK2
- Notify Icon
- can't compile on latest visual studio 2019.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xwt.