Draft: fixed aspect (kinda) #31

Closed
jrcoudro wants to merge 0 commits from WES-50-Course-Aspect-Fix into development
jrcoudro commented 2023-03-11 16:33:18 +00:00 (Migrated from gitlab.ilabt.imec.be)

Description

Changed the UI of the course-screen. The image, video and webcam should all have correct aspect ratios now.
The image and video stay within a predefined box, this behaviour has not been achieved for the webcam yet though.

Aspect

Testing Instructions

Please provide instructions on how the code reviewers can test your changes:

Not much to test, since it's purely a UI change. You can check the course-scene and decide if it looks acceptable.

Known bugs or issues

The webcam aspect-change is not where I want it to be. It does not stay within a predefined box, meaning it can grow taller or wider than initially wanted.

Checklist

  • I have filled in this template.
  • I have tested my changes thoroughly.
  • [~] I have added appropriate unit tests.
  • I have updated the user documentation as necessary.
  • Code reviewed by 2 people.

Closes WES-50

## Description Changed the UI of the course-screen. The image, video and webcam should all have correct aspect ratios now. The image and video stay within a predefined box, this behaviour has not been achieved for the webcam yet though. ![Aspect](/uploads/f91c436543edbb9b6ec78753f45c5829/Aspect.png) ## Testing Instructions Please provide instructions on how the code reviewers can test your changes: Not much to test, since it's purely a UI change. You can check the course-scene and decide if it looks acceptable. ## Known bugs or issues The webcam aspect-change is not where I want it to be. It does not stay within a predefined box, meaning it can grow taller or wider than initially wanted. ## Checklist - [x] I have filled in this template. - [x] I have tested my changes thoroughly. - [~] I have added appropriate unit tests. - [x] I have updated the user documentation as necessary. - [x] Code reviewed by 2 people. Closes WES-50
jrcoudro commented 2023-03-11 16:34:09 +00:00 (Migrated from gitlab.ilabt.imec.be)

added 4 commits

  • 9770658a...c0a8cede - 3 commits from branch development
  • 2a5d10db - Merge branch 'development' into 'WES-50-Course-Aspect-Fix'

Compare with previous version

added 4 commits <ul><li>9770658a...c0a8cede - 3 commits from branch <code>development</code></li><li>2a5d10db - Merge branch &#39;development&#39; into &#39;WES-50-Course-Aspect-Fix&#39;</li></ul> [Compare with previous version](/wesign/unity-application/-/merge_requests/31/diffs?diff_id=29978&start_sha=9770658ab7d5a5233a47c017ab44acdd8807620d)
jrcoudro commented 2023-03-11 16:35:08 +00:00 (Migrated from gitlab.ilabt.imec.be)

requested review from @dvschuyl, @hvbreuge, @louadria, @jeldgees, @lvrossem, and @tihabils

requested review from @dvschuyl, @hvbreuge, @louadria, @jeldgees, @lvrossem, and @tihabils
jrcoudro commented 2023-03-11 16:35:49 +00:00 (Migrated from gitlab.ilabt.imec.be)

changed the description

changed the description
dvschuyl commented 2023-03-12 10:49:45 +00:00 (Migrated from gitlab.ilabt.imec.be)

Seems to work great!

I tested it on videos with an aspect ratio of 16:9, 9:16, 1:1, and 21:9 and they were all correctly scaled.

Seems to work great! I tested it on videos with an aspect ratio of 16:9, 9:16, 1:1, and 21:9 and they were all correctly scaled.
dvschuyl commented 2023-03-12 10:49:48 +00:00 (Migrated from gitlab.ilabt.imec.be)

approved this merge request

approved this merge request
lvrossem commented 2023-03-12 12:38:21 +00:00 (Migrated from gitlab.ilabt.imec.be)

approved this merge request

approved this merge request
lvrossem commented 2023-03-12 12:39:45 +00:00 (Migrated from gitlab.ilabt.imec.be)

unapproved this merge request

unapproved this merge request
lvrossem commented 2023-03-12 12:41:02 +00:00 (Migrated from gitlab.ilabt.imec.be)

The videoplayer for the instructions is just a black screen for me

The videoplayer for the instructions is just a black screen for me
louadria commented 2023-03-12 17:07:55 +00:00 (Migrated from gitlab.ilabt.imec.be)

approved this merge request

approved this merge request
louadria commented 2023-03-12 17:08:28 +00:00 (Migrated from gitlab.ilabt.imec.be)

Looks good to me, don't forget to check the boxes in your description checklist.

Looks good to me, don't forget to check the boxes in your description checklist.
jrcoudro commented 2023-03-12 18:56:47 +00:00 (Migrated from gitlab.ilabt.imec.be)

marked the checklist item I have filled in this template. as completed

marked the checklist item **I have filled in this template.** as completed
jrcoudro commented 2023-03-12 18:56:48 +00:00 (Migrated from gitlab.ilabt.imec.be)

marked the checklist item I have tested my changes thoroughly. as completed

marked the checklist item **I have tested my changes thoroughly.** as completed
jrcoudro commented 2023-03-12 18:56:49 +00:00 (Migrated from gitlab.ilabt.imec.be)

marked the checklist item I have updated the user documentation as necessary. as completed

marked the checklist item **I have updated the user documentation as necessary.** as completed
jrcoudro commented 2023-03-12 18:56:51 +00:00 (Migrated from gitlab.ilabt.imec.be)

marked the checklist item Code reviewed by 2 people. as completed

marked the checklist item **Code reviewed by 2 people.** as completed
jeldgees commented 2023-03-12 19:06:58 +00:00 (Migrated from gitlab.ilabt.imec.be)

marked this merge request as draft

marked this merge request as **draft**
louadria commented 2023-03-16 21:20:52 +00:00 (Migrated from gitlab.ilabt.imec.be)

Since the relevant code here has been used in WES-90, this MR can be deleted.

Since the relevant code here has been used in WES-90, this MR can be deleted.

Pull request closed

Sign in to join this conversation.