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

  • Recent Achievements

    • Week One Done
      davidbazooked earned a badge
      Week One Done
    • One Month Later
      Jamswaz earned a badge
      One Month Later
    • Week One Done
      Jamswaz earned a badge
      Week One Done
    • Rookie
      Marzoid went up a rank
      Rookie
    • Community Regular
      coch went up a rank
      Community Regular
  • Popular Contributors

    1. 1
      +primortal
      514
    2. 2
      PsYcHoKiLLa
      185
    3. 3
      +Edouard
      159
    4. 4
      Steven P.
      83
    5. 5
      ATLien_0
      75
  • Tell a friend

    Love Neowin? Tell a friend!