label

Flex: Change line height of Label component

Hi guys, Maybe I'm googling for the wrong thing but I can't find anything on this. How can I change the line height of a Label element in Flex? I have two labels in a VBox and there is quite a lot of white space between them which I would like to reduce. There's no line height property and setting the height property causes overlap. ...

HTML DOM remove label

Hi, I have a label like <label for="Some Feild" >Some Text </label> Now I want to set the style of display of this label to none How can I do this ? ...

XAML: How do I append a percent symbol to a bound label value?

I have a label bound to the value of a slider. Content="{Binding Path=Value, ElementName=Slider}" How do I append a percentage symbol? The value of the slider is already formatted correctly, so when the value is '50', all I need is '50%'. Edit 0: I know how to do it in code behind but I was hoping to accomplish this in xaml without...

Nest input inside f.label ( rails form generation )

I want to use the f.label method to create my form element labels, however - i want to have the form element nested inside the label. Is this possible? -- From W3C -- To associate a label with another control implicitly, the control element must be within the contents of the LABEL element. In this case, the LABEL may only contain o...

Subscript or Superscript text within a Zend Form label

I would like to include subscript text in a Zend_Form_Element's label, and it doesn't seem to be working: $zend_form_element->setLabel('Label <sub>x</sub>'); Is there anything I can do to get it to output properly without having to manually write the form on the view page? Thanks for the help, Dave ...

Drop duplicated axis label in Flex Chart

Hi, All. I use LineChart in Flex with horizontal category axis and I need drop duplicated category label on the chart. The data I use are like that: {Product: "C1", Store: "S1", Profit: "1500}, {Product: "C2", Store: "S1", Profit: "1000}, {Product: "C3", Store: "S2", Profit: "800}, {Product: "C4", Store: "S2", Profit: "1200}, {Product:...

continue to <label> in C# like in java

I need C# equivalent to Java’s continue ? i have for (String b : bar) { <label> try { } catch (EndpointNotFoundException ex) { continue <label> } } how can i simulate this in C#. i need that when i get exception that i repeat code not go on. ...

Label in PyQt4 GUI not updating with every loop of FOR loop

I'm having a problem, where I wish to run several command line functions from a python program using a GUI. I don't know if my problem is specific to PyQt4 or if it has to do with my bad use of python code. What I wish to do is have a label on my GUI change its text value to inform the user which command is being executed. My problem h...

How to fill a Label.Text - Property via jQuery

Hello, I use ASP.NET and have a label control on my page, which I fill with the jQuery-Command $('#<%= myLabel.ClientID %>').html(content); .val() does not seem to work with this. Somehow, I have Problems getting the content in code-behind. In the code, the myLabel.Text-Property is still empty. ...

How do I render text with pixel heights rather than points in pyglet?

Pyglet only seems to use points. Is there a way to convert easily? Surely there must be a simple way because it's something obviously important, to be able to use pixels for text height. class Font(): def __init__(self,font,size): self.size = size self.font = font def return_surface(self,label): surface =...

Is there any way to disable the "double-click to copy" functionality of a .NET label?

This is really annoying. I'm using the label as part of a list item user control, where the user can click it to select the list item and double-click it to rename it. However, if you had a name in the clipboard, double-clicking the label will replace it with the text of the label! I've also check the other labels in the application, an...

Zend_Form_Element_Radio option label should not be escaped

I want to include some HTML in the labels of the radio buttons so that the user can click a link within that label. For example <label for="value-12"> <input name="value" id="value-12" value="12" checked="checked" type="radio"> Doo Bee Dooo Bee Doooo <a href="somelink">preview this song</a> </label> The html keeps getting ...

Making a Label Visible/Not Visible in Delphi

I would like a button to change a label between being visible and not visible when clicked. I Tried the following code, but it doesnt work: Var: Hidden : Boolean; Begin If Hidden = True Then Begin Label6.Visible := True; Hidden := False; End; If Hidden = False Then Begin Label6.Vi...

BlackBerry - MainScreen with labels vertical scroll

I am trying to create a MainScreen with vertical scrolling. From what I've read in the documentation, MainScreen has a VerticalManager inside, so it should be possible to enable vertical scrolling only with proper construction, i.e: super(MainScreen.VERTICAL_SCROLL | MainScreen.VERTICAL_SCROLLBAR); This is not working for me, however....

Changing forecolor according to backcolor

Dear SO family, I have created an iframe which contains the label, "powered by MyWebsite.site" The "iframe itself" accepts arguments, so other webmasters may customize the appearance of it. The problem is that since the background of the iframe could be customized, anyone can "vanish" the "powered by MyWebsite.site". So what option do...

Using LINQ, how do you get all label controls.

I want to get a collection of all label controls that are part of a user control. I have the following code: var labelControls = from Control ctl in this.Controls where ctl.GetType() == typeof(Label) select ctl; but the result is zero results. Please assist. Thanks. Ed...

python - tkinter - update label from variable

I wrote a python script that does some stuff to generate and then keep changing some text stored as a string variable. This works, and I can print the string each time it gets changed. Problems have arisen while trying to display that output in a GUI (just as a basic label) using tkinter. I can get the label to display the string for t...

text blurry when using label component on AS3

I have a problem when dealing with label component on AS3. The text was blurry on one application but not on the other. I have used the same code when dealing with the label component except the one with clear text used scaling to scale the label component and not being used on the other. Is there because the scale that cause the proble...

Invalid Label - jQuery Ajax/Json request

Hi, I've been pulling my hair out over this; function status_update( token, loader ){ $("#status-submit").bind( 'click', function(){ try{ $("#status-feed-result").html( loader ); $("#status-input").attr("disabled", "disabled"); var status_input = $("#status-input").val(); $.ajax({ type: '...

C# - How to make text/labels smooth?

Hello. Does anyone know how to make labels, or text, smoother? At the moment they look quite jagged. As I want to make the label dynamic, I can't just insert the text from Photoshop. Any idea? Thanks. ...