Jump to content

GUI Information (Documentation link available?)


Diazo

Recommended Posts

Alright. I'm looking for information on how KSP's GUI works.

I think I've heard it uses EzGUI? This true?

I'm after pretty basic information here, a link to a tutorial applicable to KSP would work.

The specific question that has prompted this is that my mods are getting bleed-over from other mods where I am inheriting their GUI styles somehow. This causes my text to no longer fit on buttons and so on.

I thought I had isolated my own GUI styles for my mod, but my current method does not appear to be working so rather then mess around with something I know hardly anything about I figured I'd see if I could dig up some documentation first.

Anyone able to help me out?

D.

Link to comment
Share on other sites

I'm not really sure about the specifics, but I know that this is a common problem when copying the KSP or the Unity default GUIStyles.

You can try looking at TriggerAu's GUI framework to see if the methods there for creating new GUISkins helps: https://github.com/TriggerAu/KSPPluginFramework/blob/master/KSPPluginFramework/SkinsLibrary.cs

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...