Bingit
Bingit

Reputation: 59

Jquery Dialog Title bar

Below is my Jquery Dialog. When Dialog pop up, the tile bar is showing 100% as shown in image.

How do I put space after the "X" (closing button) in the title bar?

 $("#imgForwardProposal").click(function (e) {
            $("#divSearch").dialog({
                open: function () {
                    $(this).closest(".ui-dialog")
                    .find(".ui-dialog-titlebar-close")
                    .removeClass("ui-dialog-titlebar-close");
                },
                title: "Search Employee",
                show: "scale",
                modal: true,
                width: '55%',
                height: 500
            });
        });

enter image description here

Upvotes: 1

Views: 149

Answers (1)

j08691
j08691

Reputation: 208012

You could use:

.ui-dialog-titlebar-close {
    margin-right:20px;
}

Upvotes: 1

Related Questions