#Spacing help in custom calendar
1 messages · Page 1 of 1 (latest)
I uploaded your attachments as Gist.
<@&987246399047479336> please have a look, thanks.
Here is an AI assisted attempt to answer your question 🤖. Maybe it helps! In any case, a human is on the way 👍. To continue talking to the AI, you can use </chatgpt:1108714622413963314>.
displayed in a specific format with proper spacing. Can you please provide more details about the issue you are facing? Specifically, what is the current output and what is the desired output? Additionally, it would be helpful if you could share the code snippet related to the addEvent method and how you are displaying the calendar.
I uploaded your attachments as Gist.
this is the current output
I would like the event (s_s for example) to be below the correct date (25)
with the correct spacing
check your spacing method, from the looks ( and code ), your using spaces, and not tabs
if u do want to use spaces, u need to counter the text that was enterd
@undone violet
how would i go about doing that in an if statement like i have in my method
And what could I do to go below the date instead of right by it
where did u hide your method to print the event on the actual day ?
( your code is rather large , but judging its from a school traject that's normal )
ah found it, at the moment your printing the inverse
your first printing the gap to the next square, and then the event
so u need to counter the spacing ( 5 or 6 in your case - the event lenght )
[ or use tabs instead of spaces ]
If u want to print it on the second line, u need to inserst the print on the second line
yeah it’s my first CS class haha
so i should go event, square, gap instead?
no
number, spacing, event, spacing, seperator
u need to add some math as your space based as seprator
👍