Login
Remember
IF Answers
Ask a Question

# With Flexible Windows by Jon Ingold, is there a way to make the text display at the top of the window, even in Gargoyle? (Inform 7)

0 votes
1,020 views
asked May 28 in Authoring by bg (692 points)

If you create a text window, can you make the text align with the top of the window instead of the bottom, even in Gargoyle?

related to an answer for: In Inform 7, how do you create a text window using Flexible Windows by Jon Ingold?

- inform7
- flexible-windows
- glulx

## 1 Answer

+1 vote
answered May 28 by Dannii (329 points)
selected May 28 by bg
Best answer

No, that's just how Gargoyle is.

But if you know exactly how many lines of text you will be printing, you could spawn a window of exactly that height positioned to the top, which would appear as if it were top aligned. Similarly you can centre text by using extra wide 'margin' windows.

commented May 28 by bg (692 points)
Thanks, that worked! And now I seem to have introduced a state where the cursor has disappeared from the main window. You can still type, but the cursor is invisible. But only in Gargoyle, for some reason.
commented May 29 by Dannii (329 points)
I don't think I've ever seen that, or have any ideas about its cause, sorry.

## Related questions

- In Flexible Windows, is it acceptable to set, e.g., the window position at or after the start of play? (Inform 7)
- How do you indent text in a window using Flexible Windows by Jon Ingold? (Inform 7)
- In Inform 7, how do you create a text window using Flexible Windows by Jon Ingold?
- How to show window background color in Quixe: background color property or text background? (Flexible Windows, Inform 7)
- How do you use a hyperlink to paste text without (in effect) pressing enter? (Flexible Windows, Inform 7)

...