Can you adjust the width of the boxes in Yanfly's Save Core?

Tonedawg181

Tonedawg Gaming
Veteran
Joined
Oct 21, 2016
Messages
67
Reaction score
22
First Language
English
Primarily Uses
RMMV
Engine: RPG Maker MV
Plugin: Yanfly Save Core

Is there a way to increase the width of the boxes for the data columns? You can increase the font size but the border box's width doesn't scale up in size. I attached a picture below with a font size of 28 for the data columns. I believe the height of the boxes stretched to fit the right way, but as you can see in the location box, the width is not large enough to fit everything.

 

OnlyMe_

The Pathfinder
Member
Joined
Jun 27, 2017
Messages
24
Reaction score
61
First Language
Bahasa
Primarily Uses
RMMV
I forgot the parameters of that plugin.
However, I think you should dig around the code and change some numbers because there is no parameter that changes that sadly.
But again, I haven't used that plugin in long time now. ^^
 

Tonedawg181

Tonedawg Gaming
Veteran
Joined
Oct 21, 2016
Messages
67
Reaction score
22
First Language
English
Primarily Uses
RMMV
I forgot the parameters of that plugin.
However, I think you should dig around the code and change some numbers because there is no parameter that changes that sadly.
But again, I haven't used that plugin in long time now. ^^
That was my first thought also, that something in the script itself could probably be changed to adjust that, however I have no idea what to change really :(
 

OnlyMe_

The Pathfinder
Member
Joined
Jun 27, 2017
Messages
24
Reaction score
61
First Language
Bahasa
Primarily Uses
RMMV
Alright so I dig around the code and I think I found the part of the code that controls the length. I think it's around this part:

.
.
.
Window_SaveInfo.prototype.drawColumn = function(column, dx, dy, dw) {

var length = column.length; //<- I think If you change this to a number, it's should modify the length.
var tp = this.textPadding();
for (var i = 0; i < length; ++i) {

this.resetFontSettings();
this.contents.fontSize = Yanfly.Param.SaveInfoDataSz;
var data = column;
if (data.toUpperCase().trim() !== 'EMPTY') {

this.drawDarkRect(dx, dy, dw, this.lineHeight());
this.drawData(data, dx + tp, dy, dw - tp * 2);
}
dy += this.lineHeight();
}
};
.
.
.


I'm not 100% sure about this but, it's worth trying I guess :/

Edit:
Oh, and note that this is for the Location column only, you have to adjust the other manually or set the
column.length variable to a certain value. I'm not that good with Javascript but I think this will do.
 

Tonedawg181

Tonedawg Gaming
Veteran
Joined
Oct 21, 2016
Messages
67
Reaction score
22
First Language
English
Primarily Uses
RMMV
Alright so I dig around the code and I think I found the part of the code that controls the length. I think it's around this part:

.
.
.
Window_SaveInfo.prototype.drawColumn = function(column, dx, dy, dw) {

var length = column.length; //<- I think If you change this to a number, it's should modify the length.
var tp = this.textPadding();
for (var i = 0; i < length; ++i) {

this.resetFontSettings();
this.contents.fontSize = Yanfly.Param.SaveInfoDataSz;
var data = column;
if (data.toUpperCase().trim() !== 'EMPTY') {

this.drawDarkRect(dx, dy, dw, this.lineHeight());
this.drawData(data, dx + tp, dy, dw - tp * 2);
}
dy += this.lineHeight();
}
};
.
.
.


I'm not 100% sure about this but, it's worth trying I guess :/

Edit:
Oh, and note that this is for the Location column only, you have to adjust the other manually or set the
column.length variable to a certain value. I'm not that good with Javascript but I think this will do.

thanks for taking the time to look into this man :D
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c

Forum statistics

Threads
105,857
Messages
1,017,018
Members
137,563
Latest member
MinyakaAeon
Top