Change size of Add-Dialogue

QuestionsChange size of Add-Dialogue
Alex asked 9 years ago

Hi,

I changed the font-size of my grid but now the Add-Dialogue is far to small for the content.
I tried chaning the size like this:
#editmodlist1{
width : 370px;
height: 370px;
}
but it did not work.

So how do I do this?

Thanks,
Alex

1 Answers
Abu Ghufran answered 9 years ago

Set Add and Edit form & View dialog width:

$grid["edit_options"] = array('width'=>'370');
$g->set_options($grid);

Height is auto set w.r.t. content of dialog.

You can also use:
$grid["add_options"] = array('width'=>'370');
$grid["view_options"] = array('width'=>'370');

Refer docs for more.

Your Answer

16 + 15 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?