pygame_gui icon indicating copy to clipboard operation
pygame_gui copied to clipboard

The tutorial on anchors is not easy to understand

Open LondonClass opened this issue 1 year ago • 2 comments

I know anchors are a dictionary, and each key and value of anchors is a string. But I don't know what a dictionary entry means? Especially when anchors interact with rect, I can't understand it anymore. What does a negative width rect mean?

Can you modify the anchors tutorial to make it easier to understand?

LondonClass avatar Jan 17 '24 15:01 LondonClass

I could certainly add more visual examples of different anchoring scenarios.

On a related topic, I will also try to extend the getting started tutorial a bit further to add some 'next steps' with the 'hello world' button like adding a theming file.

MyreMylar avatar Feb 04 '24 20:02 MyreMylar

I could certainly add more visual examples of different anchoring scenarios.

On a related topic, I will also try to extend the getting started tutorial a bit further to add some 'next steps' with the 'hello world' button like adding a theming file.

I actually prefer to add a logical description. Tell me the principle of anchor points. And how is the value of relative rect calculated when using anchors.

LondonClass avatar Feb 05 '24 08:02 LondonClass