Questions tagged as 'label'

2
answers

How can I simulate a placeholder using a label?

I'm trying to make label simulate a fixed placeholder. The biggest difficulty is to change the properties of label when input gets focus , and input fill in the rest of the space automatically. I tried to...
asked by 01.01.2014 / 21:45
1
answer

How to put an HTML code in a label in Laravel?

When I try to do this: {{ Form::label("nomecampo", "Descrição<em>*</em>", array("class" => "entrada")) }} The tag enters the tag but is not interpreted correctly. See: <label class="entrada" for="nomecampo">Descrição&...
asked by 27.01.2014 / 16:20
2
answers

How to put part of a bold text in Tkinter?

I need to display text in a GUI interface made with TkInter, however, I would like only one word in the middle of this text to be bold. I'm using it as follows: texto = Label(Frame, text="Texto qualquer com mais de 5 linhas", font= fonte qu...
asked by 29.07.2015 / 13:56
2
answers

Is it correct to use the Input tag inside a Label tag?

I was taking a look at the W3Schools tutorial, where I'm teaching you how to use% type% input in Bootstrap. According to one of the examples, I saw the following code: <div class="checkbox"> <label><input type="ch...
asked by 25.10.2016 / 13:03
2
answers

Label in loop in Foreach

I'm having difficulty displaying information that comes from an object to show on a Label, returning it as a list. //Pegando os dados do Rest e armazenando na variável usuários var usuario = response.Content.ReadAsAsync<IEnumerable<Cons...
asked by 27.07.2018 / 14:59
2
answers

Python 3.5.0 ::: Erase a Label on Tkinter

I have a code that allows me to play the stone-paper-scissors. Here is the tkinter window: The result does not appear every time I play, because the label of this text does not disappear or erase the text. How do I get to see the result...
asked by 10.01.2016 / 18:02
1
answer

how to make a text fit the size of the tkinter screen?

I'm doing an application in tkinter and I need the text typed in a single Label to fit the size of the window, because otherwise I have to get using line break. Can anyone help me? from tkinter import * janela1 = Tk() janela1.title("INTRODUÇÃO...
asked by 10.01.2017 / 22:36
2
answers

Get the optgroup label and option value and show it in a div with Jquery

I have the following code: <select> <optgroup label="fruta"> <option value="banana">banana</option> <option value="uva">uva</option> </optgroup> <optgroup label="l...
asked by 08.07.2015 / 13:11
1
answer

How to handle jquery validate error messages?

Here's the case: I have two inputs, the two are validated with the validate, one I need to show the error msg and change the border color, the other just need to change the color of the boar, without error msg . Is it possible to do that? For ev...
asked by 12.08.2016 / 02:01
2
answers

How to align a checkbox next to a label?

I would like to align my label with the checkbox using CSS, so the label does not stay under the checkbox. Here is a print of how I wish it were: Mineisgoinglikethis: body { display: flex; background-color: #f5f5f5; font-family...
asked by 29.06.2017 / 20:46