Hi Saltome,
Attached are some samples. Basically these are issues I faced before as well when I modified the code. The images are for your code.
The side image is being placed in the wrong location. This should be easy enough to fix.
However, the text is a bigger problem. You may notice that when there are two or more lines of dialogue, the text is shown in the wrong place (in 2 line example, first line is placed
higher as compared with when there is only a single line. Also if there is no side image, the dialogue box moves position.
I think it is conflicting with style properties, which are as follows for me:
Code: Select all
style.window.background = im.Alpha("data/game_frame_avg.png",0.8)
style.window.left_margin = 0
style.window.right_margin = 0
style.window.top_margin = 0
style.window.bottom_margin = 0
style.window.left_padding = 170
style.window.right_padding = 150
style.window.top_padding = 10
style.window.bottom_padding = 10
style.window.yminimum = 180
Left padding is 170 to provide space for side images. Right padding is 150 to place quick menu here at a later stage.
EDIT: Forgot to upload the image
![Embarassed :oops:](./images/smilies/icon_redface.gif)