News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Post box size

Started by Krissnikkers, May 25, 2015, 07:09:55 AM

Previous topic - Next topic

Krissnikkers

Hi guys

Can you change the size of the post box? I know you can drag but would like it to be bigger, about twice the size.

Thanks in advance

Kriss :)

Kindred

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

margarett

Actually not... The editor creation is controlled in Sources/Post.php, before calling the "create_control" function.

// Now create the editor.
$editorOptions = array(
'id' => 'message',
'value' => $context['message'],
'labels' => array(
'post_button' => $context['submit_label'],
),
// add height and width for the editor
'height' => '175px',
'width' => '100%',
// We do XML preview here.
'preview_type' => 2,
);

Adjust height/width as required ;)
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Krissnikkers


Oh thanks!

The only thing will have to remember to do it every time we upgrade   ;D

Kriss :)

Illori

Quote from: Krissnikkers on May 25, 2015, 11:25:55 AM

Oh thanks!

The only thing will have to remember to do it every time we upgrade   ;D

Kriss :)

if you use the package manager patches then you dont have to apply it each time you upgrade.

Krissnikkers


Ok will find out how...  thank you!

Kriss :)

Advertisement: