-
Notifications
You must be signed in to change notification settings - Fork 0
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
Ability to update badge image size outside of framework #304
Conversation
…onItemViewCellConfiguration` to make configurable
/// | ||
/// - Returns: The correct background size based on the `QuizConfiguration` | ||
/// and `CollectionItemViewCellConfiguration` | ||
static func imageBackgroundViewSize() -> CGFloat { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will apply to all CollectionItemViewCell
, not just the quiz badge. This would only affect apps which configure these properties: blendedLearningImageBackgroundSize
and imageBackgroundSize
@simonmitchell I feel like the white background around the badges is drawn by the Can change the color to |
IIRC there was previously a |
I'm going to merge @simonmitchell as this PR shouldn't be breaking anything (feature enhancement) as I need to tag this up. |
Description
Add
blendedLearningImageBackgroundSize
imageBackgroundSize
properties to
CollectionItemViewCellConfiguration
to configure the quiz badge imageView size.Related Issue
https://3sidedcube.atlassian.net/browse/OU20-90
Motivation and Context
Requested to increase size of badge image in a referencing app
How Has This Been Tested?
Tested by running in companion app.
Screenshots (if appropriate):
Types of changes
Checklist: