setDialogStyle2 method
Sets some other dialog styles for dia
Implementation
static void setDialogStyle2(Element dia) {
if (attr == null) {
initAttrFromDefaults();
}
dia.style
..background = attr[DIALOG_BACKGROUND]
..textAlign = "center" // centers e.g. OK button
..padding = "1.0em"
..paddingTop = "0.5em" // override previous top
..margin = "1em auto"
..border = "0" //"1px solid rgba(0, 100, 0, 0.3);"//"0"
..borderTop = "1px solid ${attr[DIALOG_TOPBAR_COLOR]}"
..borderRadius = "${attr[DIALOG_BORDER_RADIUS]}px"
..boxShadow = attr[DIALOG_BOX_SHADOW]
..fontSize = "${attr[DIALOG_TEXT_FONTSIZE]}px"
..lineHeight = "100%"
..opacity = attr[DIALOG_WIN_OPACITY];
}