I try to get the choices menu to the left of the screen.
I found this piece of script inside the Window_ChoiceList script:
# * Update Window Position #-------------------------------------------------------------------------- def update_placement self.width = [max_choice_width + 12, 96].max + padding * 2 self.width = [width, Graphics.width].min self.height = fitting_height($game_message.choices.size) self.x = Graphics.width - width if @message_window.y >= Graphics.height / 2 self.y = @message_window.y - height else self.y = @message_window.y + @message_window.height end endAfter trying several possibilities to set the menu to the left I'm stuck.
First I was under the impression that this line: self.x = Graphics.width - width was the placement of the script. Something like x = 0 with calculating the length of the sentences.
But this line: self.width = [max_choice_width + 12, 96].max + padding * 2 also does something with the alignment.
This line: self.width = [width, Graphics.width].min I just dont understand. I switched width, Graphics.width but that has no effect as far as i can see.
Has someone an idea what to change to get the choices menu align at the left side of the screen?
I found this piece of script inside the Window_ChoiceList script:
# * Update Window Position #-------------------------------------------------------------------------- def update_placement self.width = [max_choice_width + 12, 96].max + padding * 2 self.width = [width, Graphics.width].min self.height = fitting_height($game_message.choices.size) self.x = Graphics.width - width if @message_window.y >= Graphics.height / 2 self.y = @message_window.y - height else self.y = @message_window.y + @message_window.height end endAfter trying several possibilities to set the menu to the left I'm stuck.
First I was under the impression that this line: self.x = Graphics.width - width was the placement of the script. Something like x = 0 with calculating the length of the sentences.
But this line: self.width = [max_choice_width + 12, 96].max + padding * 2 also does something with the alignment.
This line: self.width = [width, Graphics.width].min I just dont understand. I switched width, Graphics.width but that has no effect as far as i can see.
Has someone an idea what to change to get the choices menu align at the left side of the screen?