How to align the attribute name label to the center on Browse and Search screen.

How to align the attribute name label to the center on Browse and Search screen.

book

Article ID: KB0084441

calendar_today

Updated On:

Products Versions
TIBCO MDM -
Not Applicable -

Description

Description:
The customer wanted to have the middle alignment for attribute label on the Browse and Search screen. On the Browse and Search screen, the alignment for attribute name label is on top. This causes some usability issues.

Issue/Introduction

How to align the attribute name label to the center on Browse and Search screen.

Resolution

This can be achieved by using a custominit.html. The following custominit.html file should be placed under the $MQ_COMMON_DIR/<enterprise_short_name>/htmlprops directory.

<script id="customInitId" language="JavaScript" type="text/javascript">

function customInit(){
var criteriaFrame = document.getElementById("criteriaFrame");
if( criteriaFrame != null ){
jQuery(criteriaFrame).on('load',function(){
jQuery("#criteriaFrame").contents().find('[class=cLeftTDA]').css(

{'vertical-align':'middle'}

);
});
}
}
</script>


Additional Information

See the attached for reference. (Filenames: Browse_n_Search.png, Currently_it_is_like_this.png and Should_be_like.png).

Attachments

How to align the attribute name label to the center on Browse and Search screen. get_app
How to align the attribute name label to the center on Browse and Search screen. get_app
How to align the attribute name label to the center on Browse and Search screen. get_app