Skip to content

Fill Entire Workspace Fullscreen using GKSQt #184

@EmDash00

Description

@EmDash00

Hi, currently using GR as a sort of UI for an experiment; however, I'm not aware of how to set the windowsize for the Qt window that it opens. This is an issue as I don't really know how else I would set some object to be a specific fraction of the screen's width.

I've attached images below.
Screenshot from 2024-03-01 14-47-36

Initial draw size:

Padding after resizing window to fullscreen:

Screenshot from 2024-03-01 14-47-51

What I'd like is for gr.setviewport(0, 1, 0, 1)to fill the entire screen. Do you have any tips?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions