Main Menu

News:

SyntaxBoom, now with pwetty syntax highlighted code boxes! \o/ 

https://www.syntaxboom.com/forum/index.php?topic=96

Shoutbox

Baggey

2025-09-24, 17:57:11
They'll be using Expanding foam to glue bricks together next  :-X

Dabzy

2025-09-24, 06:09:52
You can also get the expanding foam post fix, but, I wouldnt trust it really, especially where I live on the side of a valley and when the storms blow in the right direction, whistling down the valley, nowt is safe!

Baggey

2025-09-23, 08:53:01
That Postcrete stuff is amazing. I never know how much water to add. May be i should read the Instructions  ;D 

Dabzy

2025-09-22, 21:33:46
Cannot beat a breaky uppy mode, saves the hand cramps and chipped knuckles knocking ten bells out of a chod of conc with a hammer and chisel.

GfK

2025-09-22, 21:28:44
I have a massive JCB drill with a concrete breaky uppy mode which has got me out of jail free a couple of times replacing rotted fence posts that has been concreted in.

Amon

2025-09-22, 19:23:30
What about Roly?

Dabzy

2025-09-22, 19:22:35
Putting my 2 deckings in.... I've dug enough post holes to last me a life time... I feel sorry for the future poor sod who may want to shift'em... Like most things I do, I tend to go over the top, and as such, I've probably got shares in postcrete! :D

GfK

2025-09-22, 19:10:57
Round is a shape.

Baggey

2025-09-22, 19:04:49
Consult a qualified electrician for compliance with BS 7671 and local building Regs! Avoid areas where future digging is likely. ;)

Jackdaw

2025-09-22, 18:18:24
That depends on where the cable is to run. Minimum depth in a garden in 450mm. Under pavements 600mm.

Members
  • Total Members: 55
  • Latest: Amon
Stats
  • Total Posts: 1,607
  • Total Topics: 198
  • Online today: 12
  • Online ever: 54 (Sep 14, 2025, 08:48 AM)
Users Online
  • Users: 0
  • Guests: 7
  • Total: 7
Welcome to SyntaxBoom. Please login or sign up.

Recent

Font for the codebox too small

Started by Midimaster, Aug 30, 2025, 09:31 AM

Previous topic - Next topic

Midimaster

I added a code example here, but I would guess the font is much too small inside the SyntaxBoom code boxes.

The design wastes too much room for unnecessary side informations. Also the free space below the user's avatar needs to be used for code boxes.

You cannot view this attachment.

Midimaster

it does also not help to maximize your browser window. SyntaxBoom does not use the space:

You cannot view this attachment.

Dabzy

Generally, these use SMF default sizes, but you can change the font size of a post using the posting tools:-

Test

Overall though, I find the sizes okay really, I run on two monitors, well, the main laptop monitor which is further away, and a main monitor which is my main viewing monitor and I flip windows between both.

In regards to code boxes, I'll have to ask @Jackdaw about that, as he modified a SMF plug-in, so he'd be the one which knows anything about that particular font size query.

And in regards to the side bars, I set it up pretty much the same as syntaxbomb, yes, it does have one or two extra pieces of info in, but I'm sure when it was up and running, the side bar was always there... Though, the shoutbox text may of been smaller over on the old site.

Dabz
Intel i7-13620H, nVidia GerForce RTX 4060 Laptop GPU (8GB GDDR6), 16GB LPDDR5X, 1TB SSD, Windows 11 x64 piss flap of an OS!

Dabzy

I've just tested minimizing the browser (Edge), and the layout shrinks and expands accordingly as you resize the browser, I'm not seeing them black borders you are???

Same with Chrome?

Dabz

Intel i7-13620H, nVidia GerForce RTX 4060 Laptop GPU (8GB GDDR6), 16GB LPDDR5X, 1TB SSD, Windows 11 x64 piss flap of an OS!

Jackdaw

Quote from: Dabzy on Aug 30, 2025, 10:03 AMIn regards to code boxes, I'll have to ask @Jackdaw about that, as he modified a SMF plug-in, so he'd be the one which knows anything about that particular font size query.
To change the font size for the code highlighter. All you have to do is go into the admin settings for the plugin. There is a drop down option, you just pick the size from that.
If you've dug yourself into a hole. Just keep digging. You're bound to come out the other side eventually.

Dabzy

Quote from: Jackdaw on Aug 30, 2025, 10:17 AMTo change the font size for the code highlighter. All you have to do is go into the admin settings for the plugin. There is a drop down option, you just pick the size from that.

I keep on forgetting about that! :D

Test:

SuperStrict

Import MaxGui.Drivers
Global Window:TGadget = CreateWindow( "SetRenderImage Demo", 100, 100, 900, 600, Null )
Global Canvas:TGadget = CreateCanvas(100,5,775,590, Window)
Global Render:TRenderImage = CreateRenderImage(320, 200, False)
Global i:Int
ManipulateImage
CreateTimer 60
Repeat
	WaitEvent()
	Select EventID()
		Case EVENT_WINDOWCLOSE
			End 
		Case EVENT_TIMERTICK
			DrawAll
			If i Mod 60 =0 Then ManipulateImage
	End Select
Forever

Function DrawAll()
	I:+1
	SetGraphics CanvasGraphics(Canvas)
	SetClsColor 111,111,231
	Cls
    DrawImage Render, i, 100
	Flip 
End Function 


Function ManipulateImage()
	SetGraphics CanvasGraphics(Canvas)
	SetClsColor 200,255,200
	SetRenderImage Render
	Cls
	SetColor 1,1,1
	DrawText Rand(12345,23456),100,100
	SetRenderImage Null
	SetColor 255,255,255
End Function

Better?

Dabz
Intel i7-13620H, nVidia GerForce RTX 4060 Laptop GPU (8GB GDDR6), 16GB LPDDR5X, 1TB SSD, Windows 11 x64 piss flap of an OS!

Midimaster

Yes! Font size in code boxes is much better now.


I see this black areas left and right of the forum on Firefox.


When can we expect adding all the old tutorials of SyntaxBomb? For me they are my outsourced knowledge base. If you wait too long a lot of user will loose faith, that this knwoledge base ever comes back...



Dabzy

Quote from: Midimaster on Aug 30, 2025, 10:48 AMWhen can we expect adding all the old tutorials of SyntaxBomb?

When I get a decent amount of free time to concentrate on it, work is busy at the moment, so it's pretty much trying to slot stuff in, even my own personal stuff programming wise has hit a bit of a back burner, which I'd love to push on with.

I'm outside in the garden when the weather is okay, because I've got hordes to do there too as I'm in the middle of re-landscaping the whole lot, and being in the UK, you have got to take advantage of the decent weather when you can! :D

I don't know what it is, but as you get older, you think you will have more free time, but it sorta goes in reverse, once upon a time I could sit at a PC and get loads done, even after work... Now, I get in, blink, and it's like "Oh shit, it's time for bed!", and I feel like I've achieved nowt!

Dabz
Intel i7-13620H, nVidia GerForce RTX 4060 Laptop GPU (8GB GDDR6), 16GB LPDDR5X, 1TB SSD, Windows 11 x64 piss flap of an OS!

Hardcoal

https://blitzmaxcoding.proboards.com/

Chat:  https://minnit.chat/MainHall2

Everything becomes easy, when you disintegrate it into pieces

Midimaster


Hardcoal

https://blitzmaxcoding.proboards.com/

Chat:  https://minnit.chat/MainHall2

Everything becomes easy, when you disintegrate it into pieces