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

Fixed resize #22

Merged
merged 2 commits into from
Dec 27, 2023
Merged

Fixed resize #22

merged 2 commits into from
Dec 27, 2023

Conversation

ahcorde
Copy link
Collaborator

@ahcorde ahcorde commented Dec 22, 2023

Related with this PR #5

Setted mininum and maximun size equal to 500x550

Signed-off-by: Alejandro Hernández Cordero <[email protected]>
@ahcorde ahcorde self-assigned this Dec 22, 2023
@ahcorde
Copy link
Collaborator Author

ahcorde commented Dec 22, 2023

FIY @caguero

</rect>
</property>
<property name="minimumSize">
<size>
<width>500</width>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is is possible to set here the value of the previous <width> field instead of hardcoding it?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are some values already hardcoded in the code to set the size of the widget https://github.com/ToyotaResearchInstitute/gauges2/blob/main/src/rqt_gauges_2/speedometer_gauge.py#L126-L127

@ahcorde ahcorde requested a review from caguero December 26, 2023 17:53
@ahcorde ahcorde merged commit 180bd48 into main Dec 27, 2023
2 checks passed
@ahcorde ahcorde deleted the ahcorde/fix_resize branch December 27, 2023 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants