 
 		tag = '<div id="'+@_objectID+'_radio" style="width:'+@_frame.size.width+'px;height:'+@_frame.size.height+'px;">'
 		for i in [0...@_dataarray.length]
-			tag += '<input type="radio" id="'+@_objectID+'_radio_'+i+'" name="'+@_objectID+'_radio" value="'+i+'" /><label for="'+@_objectID+'_radio_'+i+'" style="width:'+(@_frame.size.width/@_dataarray.length)+'px;height:'+@_frame.size.height+'px;border:1px #f0f0f0 solid;">'+@_dataarray[i]+'</label>'
+			tag += '<input type="radio" id="'+@_objectID+'_radio_'+i+'" name="'+@_objectID+'_radio" value="'+i+'" /><label for="'+@_objectID+'_radio_'+i+'" style="width:'+(@_frame.size.width/@_dataarray.length)+'px;height:'+@_frame.size.height+'px;border:1px #f0f0f0 solid;vertical-align:middle;display:table-cell;">'+@_dataarray[i]+'</label>'
 		tag += '</div>'
 
 		if ($(@_viewSelector+"_radio").length)

		$(@_viewSelector).append(tag)
		if (@_value?)
			@selectedSegmentIndex(@_value)
		$(@_viewSelector+"_radio").buttonset()

	constructor:(@_dataarray)->
		super(JSRectMake(0, 0, 120, 32))
		@_bgColor = JSColor("clearColor")
		@_selectedSegmentIndex = -1

	setValue:(num)->
		$("input:radio[name='"+@_objectID+"_radio'][value='"+num+"']").attr("checked", "checke")
		$(@_viewSelector+"_radio").buttonset('refresh')

	viewDidAppear:->
		super()
