Code: Select all
style _frame:
xfill True
xpadding 150
yfill True
ypadding 15
1. This is inconvenient because it is confusing when calculating the location of objects. And you can not immediately find out that this is not affected by incorrect function calculations, but by default X padding.
2. I did not find these styles in the game config. Perhaps they are somewhere in the Renpy folder, and not in the game folder.
3. It is inconvenient to prescribe for frames every time. Those are extra lines of code...
Code: Select all
style 'some_prefix':
xfill False
xpadding 0
yfill False
ypadding 05. If I override the style for the default frames and set the values to 0, in what place can this negatively affect the position of other objects later?
After all, this applies to all frames, and if the developers did just that, then somewhere it is really needed. By changing the value to 0, somewhere in the future this might break something. Maybe.
What is the solution to this problem? I created another question, but I'm afraid that it has lost relevance, and the name of the last question does not reflect the meaning of what I want now. I'm sorry for the duplicate question, but the previous question is now out of context.