Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QB64 Phoenix Edition v3.6.0 Released!
#21
That issue with the black space at the top of the screen isn't really a bug; it's more a "feature" of how things are set up.

Let me explain how and why it's there.  Smile

Let's say we have a monitor which runs at 1600x1200 resolution.  Our default font is 16x8 pixels in size.  That 8 in font height divides evenly into the 1200 pixel monitor size, for 150 rows of text...   Everything is perfect and there's no black line anywhere...

BUT...

Let's say that the titlebar is 20 pixels in height...

Now, the most we can have is 147 rows of text in the IDE (147 rows at 8 pixels high = 1176 pixels, with 20 pixels for the  titlebar = 1196 pixels.)  We can't have 148 rows of text, as that'd put us at 2004 pixels in total height...  So how do we deal with those 4 rows of left over pixels??

Those are the black lines that you see in IDE.  Wink

That black is just left over space where our font height simply can't divide evenly into our available screen size, once the titlebar and borders and anything else is accounted for.  

It's not really a bug; it's just the space left over that isn't large enough to properly display a row a text.  Wink
Reply


Messages In This Thread
RE: QB64 Phoenix Edition v3.6.0 Released! - by SMcNeill - 02-27-2023, 04:39 PM



Users browsing this thread: 1 Guest(s)