Egui Spacing from corners and anchor buttons

⚓ rust    📅 2025-05-13    👤 surdeus    👁️ 3      

surdeus

Hello there! I'm new in Rust and in egui and I have difficulties with that.

I can't understand how I can get spacing from corners at buttons. There was first problem.

The second problem is that I want to anchor one button to the left edge, the second to the right edge, and also in the center should be the label as shown on the screenshot

The third one is that the top bar isn't width justify or how I can explain it. Not all width is being used

  1. I have:

    image

  2. Goal:

    image

3 posts - 1 participant

Read full topic

🏷️ rust_feed