AnKing-Note-Types icon indicating copy to clipboard operation
AnKing-Note-Types copied to clipboard

Nitpick: properly center text/image on IO-one-by-one card front

Open Atekken opened this issue 2 years ago • 6 comments

Which Note Type (and version) is this about?

IO-one by one version 1.1

Checklist

Please replace the space inside the brackets with an x if the following items apply:

  • [x] I've verified that I use the latest version of the note type by redownloading it from AnkiWeb
  • [x] I've checked if anyone else suggested this feature before by looking through the issue reports.

What Anki version are you using?

*Please open Anki, go to Help → About (windows) or Anki → About Anki (mac) to find the version. Edit the value between the backticks below

2.0.92 (AnkiMobile)

What Operating system are you using? (i.e. MacOS, Windows, Linux)

Please include OS version as well if possible

iOS 16.5

Problem case

Is your feature request related to a problem? If so, please describe it here. E.g.: "My workflow is such and such, and this and that would help."

This is a tiny nitpick but it would be cool if it was solved. Currently, the iOS version of Anki does not support autoflip, requiring the user to manually flip the card by tapping. This is indicated with text "This is an Image Occlusion one by one card: Please flip to the backside." and an image of the AnKing logo.

On my iphone 13 mini (iOS 16.5) this text and image is not properly centered. I'm not much of a programmer myself so I asked chatGPT if it could fix the centering for me. Unfortunately it was not successful so I'm now asking a human to give it a shot.

Solution

Concisely describe the solution you would like Properly center the text and image on the card front

Concisely describe alternatives you've considered (if any) Do nothing

More information

Additional context: Add any other context or screenshots about the feature request here. I attached a before and after image of how the card currently looks and how I would like it to look. This was achieved by editing the screenshot in GIMP, not by updating the code. image

Atekken avatar Jun 16 '23 20:06 Atekken

@abdnh if you want to look into this you can

AnKingMed avatar Jun 16 '23 20:06 AnKingMed

I pushed a quick fix but I'm not sure if it fixes the issue on iOS (only tested on computer and Android and it doesn't happen there)

abdnh avatar Jun 18 '23 13:06 abdnh

Didn't seem to fix it for me. I think it may be because the "?" Is acting like a block. It's centered in between the left side and the "?"

AnKingMed avatar Jun 19 '23 13:06 AnKingMed

Not really sure why it'll behave like that on iOS. Might be better to assign this to someone able to test on iOS.

abdnh avatar Jun 20 '23 13:06 abdnh

sounds good! I'll try and look into it when I have some time

AnKingMed avatar Jun 20 '23 13:06 AnKingMed