Smaller code boxes

D7e6f7351b2b2e8bee27964ac843b1dc
0
Jynks 101 Dec 13, 2005 at 07:50

Hi…. I think mabey you guys should make the code boxes smaller… many people might completely skip a post as they think there is to much to read. Anyone interested can still scroll down the code box.

8 Replies

Please log in or register to post a reply.

E0613df9e198a3ebbad23b02b714eb42
0
ikk 101 Dec 17, 2005 at 13:33

im having exactly this problem, making boxes smaller 30 percent horizontally and vertically would solve problem in my case. big boxes are very uncomfortable and i have to deal with double scroll bar while navigate bcos my browser window isnt large enough to hold single code frame. it looks like this: [img]http://members.lycos.co.uk/slvv/pic/codeb_01.JPG[/img] [img]http://members.lycos.co.uk/slvv/pic/codeb_02.JPG[/img] i’d appreciate if someone of moderators could do something with this. [code] boxes smaller 30 percent horizontally and vertically would solve problem in my case.

big boxes are very uncomfortable and i have to deal with double scroll bar while navigate bcos my browser window isnt large enough to hold single
code frame. it looks like this:

[img]http://members.lycos.co.uk/slvv/pic/codeb_01.JPG[/img]

[img]http://members.lycos.co.uk/slvv/pic/codeb_02.JPG[/img]

i’d appreciate if someone of moderators could do something with this.

6f0a333c785da81d479a0f58c2ccb203
0
monjardin 102 Dec 17, 2005 at 16:06

This is probably and issue with vBulletin? I’ve never used it so I don’t know if you can tweak the code boxes or not.

340bf64ac6abda6e40f7e860279823cb
0
_oisyn 101 Dec 17, 2005 at 16:34
test

I’m not experiencing problems with it, but then again my resolution is 1600 pixels wide. But I guess the code box width should grow in size automatically depending on the longest line in the code, which is not very hard to do with html

E0613df9e198a3ebbad23b02b714eb42
0
ikk 101 Dec 17, 2005 at 16:54

actually its very hard to force code box grow dynamically to browser window size, bcos its html and it was made to fit many standards. when i type tag, code is placed inside html frame cos only frame could have scrollbar and be shown partially, and then, html frames are hard to control unless u’re using fancy java or flash but that is even worse. therefore size of frame must be constant. [code] tag, code is placed inside html frame cos only frame could have scrollbar and be shown partially, and then, html frames are hard to control unless u’re using fancy java or flash but that is even worse. therefore size of frame must be constant.

E0613df9e198a3ebbad23b02b714eb42
0
ikk 101 Dec 17, 2005 at 17:03

i dont wanna sound like im complaining and to act a wise guy, forum looks already nice and i can live with it.
just some test:

BOOL WINAPI InitializeApplication() 
{ 
    WNDCLASS wc; 
 
    // long line long line long line long line long line long line long line long line long line long line long line long line long line long line long line long line long line long line 
    // Register the frame window class. 
 
    wc.style         = 0; 
    wc.lpfnWndProc   = (WNDPROC) MPFrameWndProc; 
    wc.cbClsExtra    = 0; 
    wc.cbWndExtra    = 0; 
    wc.hInstance     = hInst; 
    wc.hIcon         = LoadIcon(hInst, IDMULTIPAD); 
    wc.hCursor       = LoadCursor((HANDLE) NULL, IDC_ARROW); 
    wc.hbrBackground = (HBRUSH) (COLOR_APPWORKSPACE + 1); 
    wc.lpszMenuName  = IDMULTIPAD; 
    wc.lpszClassName = szFrame; 
 
    if (!RegisterClass (&wc) ) 
        return FALSE; 
 
    // Register the MDI child window class. 
 
    wc.lpfnWndProc   = (WNDPROC) MPMDIChildWndProc; 
    wc.hIcon         = LoadIcon(hInst, IDNOTE); 
    wc.lpszMenuName  = (LPCTSTR) NULL; 
    wc.cbWndExtra    = CBWNDEXTRA; 
    wc.lpszClassName = szChild; 
 
    if (!RegisterClass(&wc)) 
        return FALSE; 
 
    return TRUE; 
} 
BOOL WINAPI InitializeApplication() 
{ 
    WNDCLASS wc; 
 
    // Register the frame window class. 
 
    wc.style         = 0; 
    wc.lpfnWndProc   = (WNDPROC) MPFrameWndProc; 
    wc.cbClsExtra    = 0; 
    wc.cbWndExtra    = 0; 
    wc.hInstance     = hInst; 
    wc.hIcon         = LoadIcon(hInst, IDMULTIPAD); 
    wc.hCursor       = LoadCursor((HANDLE) NULL, IDC_ARROW); 
    wc.hbrBackground = (HBRUSH) (COLOR_APPWORKSPACE + 1); 
    wc.lpszMenuName  = IDMULTIPAD; 
    wc.lpszClassName = szFrame; 
 
    if (!RegisterClass (&wc) ) 
        return FALSE; 
 
    // Register the MDI child window class. 
 
    wc.lpfnWndProc   = (WNDPROC) MPMDIChildWndProc; 
    wc.hIcon         = LoadIcon(hInst, IDNOTE); 
    wc.lpszMenuName  = (LPCTSTR) NULL; 
    wc.cbWndExtra    = CBWNDEXTRA; 
    wc.lpszClassName = szChild; 
 
    if (!RegisterClass(&wc)) 
        return FALSE; 
 
    return TRUE; 
} 

BOOL WINAPI InitializeApplication() 
{ 
    WNDCLASS wc; 
 
    // Register the frame window class. 
 
    wc.style         = 0; 
    wc.lpfnWndProc   = (WNDPROC) MPFrameWndProc; 
    wc.cbClsExtra    = 0; 
    wc.cbWndExtra    = 0; 
    wc.hInstance     = hInst; 
    wc.hIcon         = LoadIcon(hInst, IDMULTIPAD); 
    wc.hCursor       = LoadCursor((HANDLE) NULL, IDC_ARROW); 
    wc.hbrBackground = (HBRUSH) (COLOR_APPWORKSPACE + 1); 
    wc.lpszMenuName  = IDMULTIPAD; 
    wc.lpszClassName = szFrame; 
 
    if (!RegisterClass (&wc) ) 
        return FALSE; 
 
    // Register the MDI child window class. 
 
    wc.lpfnWndProc   = (WNDPROC) MPMDIChildWndProc; 
    wc.hIcon         = LoadIcon(hInst, IDNOTE); 
    wc.lpszMenuName  = (LPCTSTR) NULL; 
    wc.cbWndExtra    = CBWNDEXTRA; 
    wc.lpszClassName = szChild; 
 
    if (!RegisterClass(&wc)) 
        return FALSE; 
 
    return TRUE; 
} 
6f0a333c785da81d479a0f58c2ccb203
0
monjardin 102 Dec 17, 2005 at 17:27

That does look just fine in my browser (Firefox 1.0.7 under WinXP2 at 1280x800). Now that I’m looking at my browser version… aren’t they up to 1.5+ or something?
Anyway, I say if it ain’t broke…

D7e6f7351b2b2e8bee27964ac843b1dc
0
Jynks 101 Dec 18, 2005 at 06:36

I wasn’t talking about the browser problems, the code boxes have scroll bars if they go over sized… also as the code grows it hits a certin size then the scoll bars apear…

I was sugesting as a way to condense the posts mabey it would be possible to make the code boxes start to use the scroll bars before they get as large as they do now? (or to be extra tricky have a button to open the code boxes up or somthing) [example size of post 6 in this thread]

It isn’t anything major just a opinion.

E0613df9e198a3ebbad23b02b714eb42
0
ikk 101 Dec 18, 2005 at 16:28

i’ve noticed someone made codeboxes smaller in width, thanx.