ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

rqt based UI and different screen resolutions

asked 2017-07-24 08:26:07 -0500

I've created a UI using rqt, and store the UI as a perspective. My problem is that individual components in the UI don't render at the same location if a different screen resolution is used. The UI was created in 1920 x 1080, and is being viewed on a different machine with 2560 x 1440. Any thoughts to keep the layout completely fixed will be appreciated. Since a number of people are using the UI, it's hard to control the resolution at which it will be viewed.

I'm using ROS Kinetic and Ubuntu 16.04, should it matter.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-07-24 11:07:12 -0500

Dirk Thomas gravatar image

If you want the perspective to be "pixel-perfect" you might want to use a not maximized window. That should at least work exactly the on all resolutions which are at least of the desired size.

In general I think it would be more flexible to allow dynamic scaling of all your layout.

edit flag offensive delete link more


The main window is not maximized at launch. It just spawns with a different size at different resolutions, which means the internal plugins get pushed around at resolutions other than the one it was designed for and the interface doesn't look nice.

piyushk gravatar image piyushk  ( 2017-07-24 14:53:15 -0500 )edit

The resolution of the window should be saved / restored to / from the perspective file. It shouldn't change as long as the desired resolution fits onto the screen. Maybe you can describe a minimal reproducible example others can try to confirm that there is a problem.

Dirk Thomas gravatar image Dirk Thomas  ( 2017-07-24 15:28:30 -0500 )edit

Thanks for the quick response @Dirk Thomas. I've added an issue/steps to reproduce on this github thread:

piyushk gravatar image piyushk  ( 2017-07-24 15:56:07 -0500 )edit

Question Tools



Asked: 2017-07-24 08:26:07 -0500

Seen: 496 times

Last updated: Jul 24 '17