amethyst / amethyst/bracket-lib

How do I resize a window with the mouse?

Offen
#375 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Rust
Sterne
1.7k
Forks
126
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

```
let context = RltkBuilder::simple(80, 50)?
.with_title("Feedback")
.with_vsync(false)
.with_automatic_console_resize(true)
.build()?;
```

This is the code used to create the window. I followed the example I found [here](https://github.com/amethyst/bracket-lib/blob/master/bracket-terminal/examples/bench_scalable.rs). However, I am not able to click and drag the corners of the window in order to resize it.

Also, using `with_fullscreen(true)` makes the window start in fullscreen but once I exit fullscreen, I can't re-enter it. I can't find any information about resizing the window in the bracket-lib book [link](https://bfnightly.bracketproductions.com/chapter_0.html), this is the link I'm providing because I'm not sure if that is the bracket-lib book.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.