-
Notifications
You must be signed in to change notification settings - Fork 132
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
rqt_bag does not position icons correctly on OS X #68
rqt_bag does not position icons correctly on OS X #68
Conversation
This must be a bug in Qt on OS X since these items are just fixed size buttons in a horizontal layout. Nothing fancy is going on. I've read that OS X qt sometimes handles drawing a bit differently than other platforms but this seems to be a bit over the top. Unfortunately I haven't found any reference to this kind of issue specifically. |
This bug might be better represented on the rqt package since, as you have just shown with that shot, it is not at the rqt_bag level. I will make a bug that links here. |
I am closing this bug as a duplicate of ros-visualization/rqt#83 because it is better tracked in ros-visualization/rqt since it is a global rqt (really qt) problem. |
(I added that CheckBox while testing) |
This looks good honestly. I'll check your fork on Ubuntu and if it looks ok I think this is an improvement on before. |
Reopening because we can (hopefully) work around the bug specifically for rqt_bag! @wjwwood can you try this commit hash and give me a screenshot of what it looks like for you on osx? |
Let me compare this with other ui files before the merge. |
Console for example doesn't even set a size on its buttons: https://github.com/ros-visualization/rqt_common_plugins/blob/hydro-devel/rqt_console/resource/console_widget.ui#L29 |
I removed the "maximumSize" property entirely and it behaves the same as that pull request. |
By default the ui file does not contain any properties. So instead of setting the values to 16777215 you should indeed "reset" that property in QtCreator which will effectively remove the property from the ui file. Please update the pull request accordingly. |
I've done that in this commit That way we don't have to waste anymore of williams precious time. |
If I merge this will it merge william's and mine? |
I'll merge this at ~7-8ish if there is no complaint here by then. Thanks for the help will/dirk |
Updated. |
This allows buttons to be sized correctly on OS X
Looks good now. I will do the merge... |
rqt_bag does not position icons correctly on OS X
To what extent might this be Retina / HighDPI related? |
dirk, indeed clearly not. thanks helping me get up to speed, sorry for the noise. |
See answers.ros.org post here:
http://answers.ros.org/question/60017/rqt-not-showing-icons-in-osx/