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

Color chooser update with arnold #6013

Closed
wants to merge 21 commits into from

Conversation

ericmehl
Copy link
Collaborator

This is a temporary PR to get a build with the Color Chooser improvements in #6003 with Arnold support.

Checklist

  • I have read the contribution guidelines.
  • I have updated the documentation, if applicable.
  • I have tested my change(s) in the test suite, and added new test cases where necessary.
  • My code follows the Gaffer project's prevailing coding style and conventions.

`QBoxLayout` wraps child widgets in a `QWidgetItem`.
`QWidgetItem.maximumSize()` returns `QLAYOUTSIZE_MAX` if the item has
non-default alignment, resulting in unnecessary expansion into all
available space. By resetting the alignment to default, we can get the
real size the widget needs. Changing alignment this way does not have
side effects. See `QLayout::alignmentRect()` source for a similar
solution to this problem.
Temporary measure for testing. DO NOT MERGE.
@johnhaddon johnhaddon closed this Oct 10, 2024
@johnhaddon johnhaddon deleted the ColorChooserUpdateWithArnold branch October 24, 2024 08:14
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