Visual styles break on certain applications


Recommended Posts

Repost from where i posted in the wrong forum earlier, sorry about that....

I use themes from my work computer, and often while using something like Surround SCM, certain themes will break and not show some of the interior panes of the application. Not every program breaks this way, so it has to be theme-specific, but a large number of themes DO break in this fashion.

Two themes that do not break this way are:

The following is a well known theme by b0se that DOES break similarly:

http://b0se.deviantart.com/art/GUI-Relax-45441528

A theme that does NOT break in this fashion is Mint by hsn:

http://hsn.deviantart.com/art/Mint-2-0-Visual-Style-49718884

Any ideas guys? I have been working with the author of a number of themes to try and pin down the problem, but without much luck.

If necessary, I can provide screenshots to clear up what I am referring to.

Hm... I've used both of those themes extensively, and have failed to noticed any areas where shortcuts were taken (b0se is usually thorough about those things), and all elements appeared to be skinned correctly. Screenshots would be helpful in understanding how the theme "breaks."

I agree, b0se's themes are typically very complete. In fact, XPMC works fully with these applications.

The following are images of the working theme(PxlPlus mod) and broken (Clearlooks Gummy, by WinGnomeXP). Both have had sensetive data removed, but the middle area is the part I am concerned with. In the claerlooks_gummy skin I would like to use, each column is mostly cut off.

Hopefully this helps.

Note: Typically there would be text in the PxlPlus, working mod. That had to be removed for privacy concerns I suppose...

post-203379-1203802169_thumb.png

post-203379-1203802176_thumb.png

what i'll tell you will sound very strange but it could help fixing that bug.

the problem might be implied in the SizingMargins of the Captionbar (Titlebar).

99217551hb2.th.jpg

the upper screenshot shows the actual SizingMargins used by the theme.

the screenshot below shows the SizingMargins I would suggest to solve the problem.

one could ask what that setting has to do with your problem but a similar problem occured in a software called "Scribus".

and this is how I solved this strange behaviour in all my themes ;)

contact the theme author or try modding it yourself.

it's not that difficult.

good luck :)

Try it out at work and let me know how it goes. :) The reason for the sizing margin to be the way it is there, is you run into sizing issues between Open Dialog boxes & Normal Windows. This way prevents the 1 pixel shift between the two and doesn't mess with the aesthetics of the caption buttons. But let me know if that's the solution so I can pass it on to whomever requires a fix. Good luck, & thanks for using it.

Soooo nice....it works!

Now, what is the reasoning behind this mod? I want to try and fix a bunch of themes now, but certainly these "magic numbers" wont do it for other themes using different captionbar values. How can I identify the correct values for other themes?

pay attention that the top and bottom values for the SizingMargins are out of the "Magic Pink" area.

that should be enough.

you can't use the same values as I did for every other theme.

it depends on the charcteristics of the caption bitmap used by the author.

The SizingMargins define the area which will be stretched or tiled.

The part outside the SizingMargins will be drawn as it is.

The part inside the SizingMargins will be stretched or tiled.

it's hard to explain maybe someone else can do it better :)

Soooo nice....it works!

Now, what is the reasoning behind this mod? I want to try and fix a bunch of themes now, but certainly these "magic numbers" wont do it for other themes using different captionbar values. How can I identify the correct values for other themes?

Hey Congrats man, glad you found your solution, Can I ask you to post me a screenshot of say your 'run' dialog box so I can see what effect it had on your caption buttons?

  • 2 months later...
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • About bloody time. I have got PRs with hundred of files and the Web UI just struggling to even load the pages.
    • I wonder if it was applying secure boot certificates/dbx files?
    • I recently tried edge. It seems a lot better. A lot of the junk in it is gone. It seems less bloated and snappy.
    • Lethal fake phone chargers are still being sold on Amazon and eBay, UK watchdog warns by Paul Hill Credit: Pexels The UK consumer rights organization, Which?, is claiming that “potentially lethal knock-off chargers” are still being sold on online marketplaces seven years after it exposed the danger of these chargers. In its latest investigation, it bought 15 USB phone chargers from several online marketplaces and found they were missing key information, meaning they cannot be legally sold in the UK. Which? bought the 15 chargers from seven online marketplaces. These were Amazon (including Amazon Haul), AliExpress, B&Q Marketplace, Debenhams Marketplace, and eBay. It said that the chargers were so badly made that anyone using them was at risk of electric shock. Over half the chargers also posed fire and explosion risks. Of the chargers purchased, one was a fake Apple USB-C 35W power adaptor charger. To confuse buyers, the box was branded with an Apple logo, but testing found it to be a fake. Further testing picked up arcing sounds after 10 seconds of use, where a current jumps between two parts of the electrical circuit, which can cause fires, explosions, or electric shock. The manufacturers of this particular charger also put modeling clay inside it to make it feel more weighty, robust, and genuine. Not all of the chargers were technically faulty; however, some were missing key packaging, markings, and documentation, meaning they can’t be sold in the UK legally. Which? said that it is now campaigning alongside a coalition of safety groups and businesses for new laws that make online marketplaces responsible for ensuring the safety of products that they choose to list on their websites. It also said the government needs to start using powers under the Product Regulation and Metrology Act, which was adopted last July, to impose safety requirements on online marketplaces via secondary legislation, but so far, there have been delays. No matter what country you are in, be sure to properly research what you are buying and only buy authentic chargers to prevent fires. You can read more about Which?’s research here.
    • Visual Studio finally gets long-awaited feature that developers will love by Usama Jawad Visual Studio Code is Microsoft's popular, lightweight, open-source code editor, it is actually Visual Studio that is the company's flagship integrated development environment (IDE). Although the IDE already offers a boatload of useful features for developers, Microsoft has finally introduced a long-requested capability that will be loved by many. While developers have already been able to create Git pull requests (PRs) directly within Visual Studio for the past couple of years, it had not been possible to review a PR without switching to the browser, until now. Microsoft revealed in December 2025 that it is working on UX that enables developers to do just that, and fast-forward to June 2026, and Visual Studio finally has native capabilities to open and inspect a PR, discuss feedback, and wrap up the review, all without switching to the browser. This integration works for both GitHub and Azure DevOps (including on-prem). Developers have access to multiple surfaces to open a PR, including Git Repository, Git Changes, and the Git menu in Visual Studio. Once you open a PR, all the important details will be immediately visible to you, from where you can navigate to various levels of granularity and branch states, depending on the reviews that you are engaged in. As you would expect, you also get a diff view that enables you to see code changes inline or side-by-side in a separate panel. You can also review commit-by-commit. Additionally, this UX fosters collaboration as you can leave comments, reply to threads, and resolve conversations easily. Naturally, you can also leverage Copilot to apply a code suggestion to fix a potential issue. When you are done, you have the ability to approve, complete, and merge the PR. This is a pretty major feature as it has been requested heavily for the past few years. You can try it out in Visual Studio 2026 version 18.7, made available here recently. Microsoft plans to enhance this experience further in future releases with comment filtering, a timeline of PR activity, and more.
  • Recent Achievements

    • Week One Done
      Timaximus earned a badge
      Week One Done
    • One Month Later
      Timaximus earned a badge
      One Month Later
    • Rookie
      FBSPL went up a rank
      Rookie
    • First Post
      davidbazooked earned a badge
      First Post
    • Week One Done
      davidbazooked earned a badge
      Week One Done
  • Tell a friend

    Love Neowin? Tell a friend!