Jump to content

Narrower inventory widget by default


nadrimajstor

Recommended Posts

Take a look at how UI by default looks for me. Notice that inventory widgets are wasting space as I can't make them narrower.

c3gYDXT.png

 

I propose the following patch
 

--- .steam/steam/SteamApps/common/ProjectZomboid/projectzomboid/media/lua/client/ISUI/PlayerData/ISPlayerDataObject.lua 2015-04-15 00:15:49.111465123 +0200+++ .steam/steam/SteamApps/common/ProjectZomboid/projectzomboid/media/lua/client/ISUI/PlayerData/ISPlayerDataObject.lua.bak2015-04-15 00:09:25.725865882 +0200@@ -164,11 +164,11 @@         self.x1left = 0;         self.y1top = y;         self.y1 = self.y1top;+        self.w1 = (w / 6);-        self.w1 = (w / 4);         self.h1 = divhei;         self.x2 = (x+(w/4));         self.y2 = self.y1top;+        self.w2 = (w / 6);-        self.w2 = (w / 4);         self.h2 = divhei;      else

People that have ultrawide monitor can have narrower inventory widget and others if inclined can easily make them wider. And I could enjoy MP without being kick out for patched lua files.

Link to comment
Share on other sites

  • 2 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...