This is a migrated thread and some comments may be shown as answers.

Themed Combo Box

2 Answers 47 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Dr.YSG
Top achievements
Rank 2
Dr.YSG asked on 25 Nov 2015, 03:45 PM

I am currently using the MetroBlack theme. I have a pop-up window that is all black, and it has a combo box inside of it. But the box is all white which does not look correct to me.

<select id="liveServer" class="comboStyle">
  <option>ws://localhost:61623/stomp</option>
  <option>ws://vwdhad:61623/stomp</option>
</select>

If I set the background color to pure black, to match the rest, then I loose the (v) down-arrow icon (it is also black) so I have resorted to this CSS, which makes is a dark grey backgrond and white text. But something tells me that the theme should be doing this automatically. What am I missing?

 

.comboStyle {
    font-family: Arial, sans-serif;
    font-size: 16px;
    padding: 4px 7px;
    color: #ffffff;
    background-color: #404040;
}

 

2 Answers, 1 is accepted

Sort by
0
Iliana Nikolova
Telerik team
answered on 27 Nov 2015, 12:17 PM
Hi Yechezkal,

I tested a ComboBox in Kendo UI Window with MetroBlack theme and it is rendered as expected (dojo). Could you please modify my example and demonstrate your exact setup - this way I would be able to check what exactly is going wrong and provide concrete recommendations? Thank you in advance for your cooperation.

Regards,
Iliana Nikolova
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Dr.YSG
Top achievements
Rank 2
answered on 27 Nov 2015, 05:20 PM

Mine is inside a pop-up window. Perhaps that is the issue. I will look into updating the Dojo, but it could be timing w.r.t to when the window is created, and that might not be reproducable in DOJO. 

 

Right now, I do the setup on document load, and I am creating the combo box before I create the enclosing window. Works ok fo rthe button in the window. but not the combo box.

 

 

Tags
ComboBox
Asked by
Dr.YSG
Top achievements
Rank 2
Answers by
Iliana Nikolova
Telerik team
Dr.YSG
Top achievements
Rank 2
Share this question
or