Getting CAknDialog to fill the app client rectangle

Login to reply to this topic.
Mon, 2008-04-14 13:50
Joined: 2008-04-03
Forum posts: 2

Hi there,
I can't get my dialog to fill the app client rectangle, it just covers part of it, although I think I've set the right resource flags ;

RESOURCE DIALOG r_add_key_dialog
{
flags = EEikDialogFlagNoDrag |EEikDialogFlagNoTitleBar |EEikDialogFlagFillScreen |EEikDialogFlagCbaButtons |EEikDialogFlagWait;

title = "Add Key";
buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
items =
{

DLG_LINE
{
id = ELabelKey;
type = EEikCtLabel;
control = LABEL
{
txt = LABEL_ADD_KEY;
};
},
DLG_LINE
{
id = EEdwinKey;
type = EEikCtEdwin;
control = EDWIN
{
maxlength = 50;
width = 50;
base_line_delta = 21;
};
}
};
items =
{
DLG_LINE
{
id = ELabelDescritpion;
type = EEikCtLabel;
control = LABEL
{
txt = LABEL_ADD_DESCRIPTION;
};
},
DLG_LINE
{
id = EEdwinDescription;
type = EEikCtEdwin;
control = EDWIN
{
maxlength = 50;
width = 50;
base_line_delta = 21;
};
}
};
}

Does anybody have an idea where I'm doing it wrong? Thanks in advance..

  • Login to reply to this topic.