Jump to content

TUniDBLookupComboBox FONT AND DOWN ARROW STYLE


jptec

Recommended Posts

Hi,

 

 

I've changed the fonts in UniDBLookupComboBox. The Textbox area is changed but the dropdown list and the down arrow no change.

 

U can see the attached , 

 

 

Please advise how to change the dropdown list style also the down arrow to match with text box height.

 
post-3755-0-09904400-1483500925_thumb.png

 

 

Joe

post-3755-0-09904400-1483500925_thumb.png

Link to comment
Share on other sites

Hi,

 

How about the drop down list fonts ? can I change?

 

Try this:

 

1. UniServerModule -> CustomCSS:

.myList .x-boundlist-item {
    color: green;
    font-size: 14px;
    font-family: sans-serif;
}

2. UniComboBox, UniDBLookupComboBox -> ClientEvents -> UniEvents -> function beforeInit:

function beforeInit(sender, config)
{
    config.listConfig = {
        cls: 'mylist'
    }
}

Best regards.

Link to comment
Share on other sites

  • 1 year later...

Hi,

 

 

Try this:

 

1. UniServerModule -> CustomCSS:

.myList .x-boundlist-item {
    color: green;
    font-size: 14px;
    font-family: sans-serif;
}

2. UniComboBox, UniDBLookupComboBox -> ClientEvents -> UniEvents -> function beforeInit:

function beforeInit(sender, config)
{
    config.listConfig = {
        cls: 'mylist'
    }
}

Best regards.

 

Thanks. Working

Link to comment
Share on other sites

  • 1 year later...
On 1/4/2017 at 8:50 PM, Sherzod said:

Hi,

 

 

Try this:

 

1. UniServerModule -> CustomCSS:


.myList .x-boundlist-item {
    color: green;
    font-size: 14px;
    font-family: sans-serif;
}

2. UniComboBox, UniDBLookupComboBox -> ClientEvents -> UniEvents -> function beforeInit:


function beforeInit(sender, config)
{
    config.listConfig = {
        cls: 'mylist'
    }
}

Best regards.

for me not working

 

please refer me

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...