Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add size tracking to preview window title #59

Open
gluon-bot opened this issue Feb 18, 2016 · 2 comments
Open

Add size tracking to preview window title #59

gluon-bot opened this issue Feb 18, 2016 · 2 comments
Labels
enhancement New feature or request minor

Comments

@gluon-bot
Copy link

Originally reported by: Luca Domenichini (Bitbucket: mimmoz81, GitHub: mimmoz81)


It would be useful to have the title of the preview window (Ctrl + P) to report the size x of the preview window.
This way, one can better see how the scene will render at specific resolution..


@gluon-bot gluon-bot added minor enhancement New feature or request labels May 9, 2018
abhinayagarwal added a commit that referenced this issue May 9, 2018
Update Japanese translation

Approved-by: Joeri Sykora <[email protected]>
Approved-by: Abhinay Agarwal <[email protected]>
@AlmasB
Copy link
Collaborator

AlmasB commented Feb 10, 2023

Implementation is effectively this or a variation of. Note that this tracks the stage size, rather than scene size.

In PreviewWindowController:

getStage().titleProperty().bind(
                new SimpleStringProperty(Utils.makeTitle(fxomDocument))
                        .concat(getStage().widthProperty().asString(" (%.1f x "))
                        .concat(getStage().heightProperty().asString("%.1f)"))
        );

Just need to confirm this feature is worth implementing.

@Oliver-Loeffler
Copy link
Collaborator

Oliver-Loeffler commented Feb 11, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request minor
Projects
None yet
Development

No branches or pull requests

3 participants