Rangi Posted July 14, 2014 Share Posted July 14, 2014 Since I chose a dark window color in Windows 8.1, I'm using a theme which changes the title bars to white instead of black text. However, paint.net 4.0.1 has a custom title bar (presumably to allow the image thumbnails to overlap it). The text is left-aligned and black, unlike my other windows with centered white titles. On dark backgrounds this is unreadable. Quote Link to comment Share on other sites More sharing options...
Rick Brewster Posted July 15, 2014 Share Posted July 15, 2014 Can you please post a screenshot Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
Rangi Posted July 15, 2014 Author Share Posted July 15, 2014 Here's a screenshot: http://i.imgur.com/sq4Osun.png Also, the title bars of the floating windows (Tools+History+Layers+Colors) are larger than they used to be, which cuts off the "Tools" title. This does not happen in Windows 7 SP1 x64: http://i.imgur.com/MpDX8sS.png Quote Link to comment Share on other sites More sharing options...
Rick Brewster Posted July 15, 2014 Share Posted July 15, 2014 Seems like a bug in the theme Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
Rangi Posted July 15, 2014 Author Share Posted July 15, 2014 Okay then. The theme author says they changed these colors from black to white: AeroWizard <AeroWizardStyle>.TitleBar.<default>:TEXTCOLOR:COLORAeroWizard <AeroWizardStyle>.TitleBar.Inactive:TEXTCOLOR:COLORWindow <WindowStyle>.Caption.<default>:TEXTCOLOR:COLORDWMWindow.Frames.Window.Top.Active:TEXTCOLOR:COLORDWMWindow.Frames.Window.Top.Inactive:TEXTCOLOR:COLORTaskbandExtendedUI.Title.<default>:TEXTCOLOR:COLOR How is paint.net fetching the color to use for its title? Maybe I can edit the theme to fix this. Also, the large subwindow titles are still there even with Windows 8.1's default theme: http://i.imgur.com/3PUJR6J.png Quote Link to comment Share on other sites More sharing options...
Rick Brewster Posted July 15, 2014 Share Posted July 15, 2014 The large subwindow titles are just a change in the font size that Windows 8 uses. That isn't a bug. It's a little goofy but they just decided to increase the font size for some reason. I'm pretty sure you can edit the font size in your theme in somewhere in one of the Windows control panels (I know which one it is but I can't remember where it is or how to get to it in Windows 8). For drawing the title bar in this case, Paint.NET uses a Win32 API called DrawThemeTextEx, http://msdn.microsoft.com/en-us/library/windows/desktop/bb773317(v=vs.85).aspx I'm specifying 0 for both iPartId and iStateId, but from some quick research I think I may need to pass in WS_CAPTION and CS_ACTIVE, respectively (or CS_INACTIVE if the window isn't active, I suppose?). I'll file a bug and check it out. Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.