Setting the width of the field label

I have a form on which I have two of my fields (columns) in the same row, using the start on new line = No and field = No parameters for the second field. However, this second field label is has no spacing at each end, so that it starts really close to the value for the first column area and really ends close to the area of the value of its own column. I want to add a bit of space, perhaps to increase the width of the cell holding the 2nd label.

The first obvious option did not work: add empty spaces to the label itself.

I tried to enter s tyle = "width: 275px" and width = 275px in the field attributes of HTML table cell, but none who does nothing.

Running on 4.1.0.00.28.

Any thoughts?

Mark T. says:
Any thoughts?

Providing the following information always helps:

  • Full version of APEX
  • Edition and the full version of DB
  • (EPG, SST or APEX listener) Web server architecture
  • Browser (s) / version (s) used
  • Theme
  • Model (s)
  • Region (s)

    Just like any code published in packaging tags\

    ...\
    

    Tags to preserve the formatting and special characters

    Creating an example of apex.oracle.com is the best way to present a problem, especially those related to the HTML structure, page layout and form, the visual style and JavaScript.

    I tried to enter s tyle = "width: 275px" and width = 275px in the HTML table cell attributes field, but none of these makes anything.

    Which HTML attributes table cell? With start on new line = No and field = no. 1 point of control, the point label 2 and the 2nd point control will appear in the same cell, with only the attributes of the 1st checkpoint applied.

    width=275px 
    

    The width for cells in a table attribute is deprecated: use CSS instead. "275px" is also an invalid value for this attribute: value is a number that represents the width of the cell in pixels or percentage.

    The first obvious option did not work: add empty spaces to the label itself.

    Specification HTML load user agents to collapse the white space characters, so several areas will be grouped together in a single space.

    Round this is to use the non-breaking space character entity & nbsp; instead of standard spaces:

    {noformat}&{noformat}nbsp;{noformat}&{noformat}nbsp;Foo{noformat}&{noformat}nbsp;
    

    Another approach would be to apply CSS padding to the label by wrapping it in a spanstyle:

    Foo
    
  • Tags: Database

    Similar Questions

    • How to set the field "default" of a quick dashboard to yesterday?

      Hello world

      I have a dashboard the guest on a date (full name Date.Date and type Date).
      I also have a simple report with two columns: Date.Date and a measure (whatever the name).

      I've managed to filter the day before the current date in the report by adding an advanced SQL filter:
      Date.Date = Cast (TimestampAdd(SQL_TSI_DAY,-1,@{system.currentTime}) as Date)

      Now, I would like to invite him to select the day before the current date by default.
      The filter on Date.Date would be "invited" or more.

      How to set the field "Default" from the command prompt?

      Thanks in advance

      Hello

      go to the command prompt...
      Select SQL results of as default: drop-down list.
      here... you have to write your SQL logic...
      who uses by default the previous date
      something like that...

      * Select case when 1 = 0 then anydate column of another timestampadd (sql_tsi_day-1, CURRENT_DATE) of the end SubjectArea name*.

      write like this... and report back...

      Thank you & best regards
      Kishore Guggilla

    • Setting the text labels programmatically.

      I'm working on a project that requires a lot of labels and text fields (lets say more than 100). I want to:

      • get/set the text in a label
      • get/set the text in a textfield

      I can do it manually, but is it possible to do programmatically (i.e. run it through a loop), preferably in QML on C++. Any help will be appreciated.

      you could add the textfields to a data structure (in addition to container) and go.

    • The field label to show the red asterisk to required field (graphic) dynamically

      Hello

      We have a form that uses the value of the element of an application to determine what fields are required. Using the validation of the page, we are able to enforce these mandatory fields.
      The problem is to get the chart of required field asterisk to conditionally display the label of the field.

      We tried the suggestion by Re: how to handle the label of the field to display red asterisk (required)
      It works but displays an asterisk in the text. We need to display the graph for the asterisk.

      To describe assume them have the following:
      APP_1 (point of application)
      P1_A_ASTERISK
      P1_A

      The default value for the P1_A_ASTERISK is a pl/sql function that checks APP_1 and affects P1_A_ASTERISK ' < img src = "" #IMAGE_PREFIX #requiredicon_status2.gif ' alt = 'Required field' / > "If P1_A should be required.


      If P1_A_ASTERISK is defined as hidden we get the html text < img_src... in the P1_A label.

      If P1_A_ASTERISK is defined as the display text, we see the graphic symbol in the P1_A label... it's good. But we also see the point of P1_A_ASTERISK that we do not want.

      Any suggestions on a way to dynamically display the graph of the mandatory field in some field labels?
      Thank you
      NANN

      Hello:

      You can try the following

      Create a copy of the label specified for P1_A model
      Change the section "before the label" of the template as shown below. Essentially, add you an id and set the visibility style attribute to the tag. You can get a graph of the image of your choice.

      
      

      Create a page with a point of process process of "On Load - footer after" with code similar to

      if :p1_asterisk='Show Asterisk Value'  then
         htp.p('
      
        ');
      end if;
      

      CITY

    • How to set the field date as required field on UI - urgent

      Hello

      I got how set the date as field demands presented on the page.

      Below is the code I used, but giving it as class cast exception.


      MO OAMessageTextInputBean = (OAMessageTextInputBean).webBean.findChildRecursive ("dateFiled");
      mb.setRequired ("yes");

      Please help on this. for the other beans messagechoice it works fine. but only for the data type DATE gives classcast exception

      Try this

      MO OAMessageDateFieldBean = (OAMessageDateFieldBean) webBean.findChildRecursive ("dateFiled");
      mb.setRequired ("yes");

      Thank you
      Shree

    • Use the entry to set the text label?

      Hello

      I am currently working on a new application, and I was wondering if it is possible to set a label, based on user text entry? Any help is appreciated! Thank you!

      Sure. You want to change on the fly as the user enters the text (using simple data binding) or want arrives on a buttonClick or what?

    • Refresh the field label

      Hi, I read many posts on the forum but I have not found any that solved my problem.

      I'm new to the development of BB and I'm having a problem that I seem not to be able to untangle.

      I have a main class and a class of the screen. I have a button that launches a datepicker. When the DatePicker is closed I need the label of the button to refresh with the selected value. How should I do?

      I tried with invalidate, creating a CustomButtonField that implements different onFocus, onUnFocus and some other stuff, but I guess I have them implemented in a bad way...

      My two classes are these...

      public class TestClass extends UiApplication
      {

      public static calendar alarm1time = Calendar.getInstance (TimeZone.getTimeZone("GMT-3"));

      Public Shared Sub main (String [] args)
      {

      TestClass testClass = new TestClass ();
      testClass.enterEventDispatcher ();

      }

      Public TestClass()
      {

      pushScreen (new TestClassScreen());

      }

      }

      / public final class TestClassScreen extends screen
      {

      public TestClassScreen()
      {

      ButtonField alarm1 = new ButtonField ("alarm:" + TestClass.alarm1time.get (Calendar.HOUR_OF_DAY) + ":" + TestClass.alarm1time.get (Calendar.MINUTE), ButtonField.FOCUSABLE)

      {

      public boolean navigationClick (int status, int time)
      {

      datePicker (1);
      Returns true;

      }

      };

      setTitle ("Test alarm");
      Add (new RichTextField(""));
      Add (alarm1);

      }

      public void datePicker (mutable int alarmNumber)
      {

      UiApplication.getUiApplication () .invokeLater (new Runnable()
      {

      public void run()
      {

      DateTimePicker datePicker = null;
      datePicker = DateTimePicker.createInstance (TestClass.alarm1time, null, "HH: mm");
      If (datePicker.doModal ())
      {

      Calendar cal = datePicker.getDateTime ();
      TestClass.alarm1time = cal.

      Here I need the label to be updated, in the end the datePicker is Ok

      }

      }

      });

      }

      }

      Thank you

      Alex

      Welcome to the forums.

      Here's one way:

      public boolean navigationClick (int status, int time)
      {

      datePicker(1, this);
      Returns true;

      }

      Public Sub switch of dates (alarmNumber final int, ButtonField buttonToUpdate final)
      {

      UiApplication.getUiApplication () .invokeLater (new Runnable()
      {

      public void run()
      {

      DateTimePicker datePicker = null;
      datePicker = DateTimePicker.createInstance (TestClass.alarm1time, null, "HH: mm");
      If (datePicker.doModal ())
      {

      Calendar cal = datePicker.getDateTime ();
      TestClass.alarm1time = cal.

      buttonToUpdate.setLabel (...)}

      }

      });

      }

      A more usual way of being having change listener listen to click on the button and perform a similar treatment in there.

      Edit: The Code has been corrected.

    • The field label text...

      Hello..

      I have a LabelField that i shave of the text, but in the filed I should show ' - '.

      LabelField label = new LabelField ("some text here that should be displayed in the form of (-) '");

      But when I access the labelField which label.getText () I need to get the text that is associated with but not «-»

      is it possible to do...

      Thank you cordially yakoub Pasha...

      I got it..

      I used cookies... it is the right way to store additional information...

    • Workflow to set the field of AD description and computer rooms

      Hello

      I would like to create workflows a little whole AD and local description of the computer.

      If anyone has an idea...

      Thanks in advance

      Please review the scriptable task, entries and links the workflow attached that I created when initially answered your question...

      You can import the workflow attached and test / modify it as you wish.

      Entries of workflow:

      computerAD (AD:ComputerAD) - is the computer object in the plugin announcement that will have its amended description field

      newDescription (string) - the new value of the description of the selected computer object

      Script task:

      The entry script task has both entries of the workflow associated with it to access these values within the script.

    • Documaker: How to set the field of the 2D matrix

      Hello

      I created a matrix 2D field, but is not a 2D matrix...
      You may notice that it is false?

      Policy ID: Data Matrix for Documaker (dm___.ttf)
      Type: Bar Code
      Length: 32
      Format: Data matrix
      Symbol size: 18 * 18
      Scale: 1
      Rule: XDD
      Source name: xxxxxxx

      Example of XML is as follows.

      < code >
      < xxxxxx > 12345678901234567890123456789012 < / xxxxxxx >
      < / bar code >

      In the test, this field is output as follows...

      AIHPBMGKHJENFPFKDK
      AHFMCKOBPOEONLALIK
      ALJLFFJMANLMMJAEBK
      AGFCPMJOBELOEIKFCK
      DDLDDDDDLLLLDLDDDL

      I can output the barcode with the "1:1:2:2 Code 39".
      Please help me.

      Thank you

      If you are talking about the screen, you also have to install TTF fonts to let Windows know to to use. The location in the fonts directory, would only affect that print them in PDF format when you download fonts.

      Find the. TTF file on disk, right-click on it and choose Install. If you do not see the offer to install in your version of Windows, you may need to go to the control panel and choose fonts. Check the list to see if Data Matrix for Documaker has been installed. If you don't see it in the list, then check the offerred help by Windows, how to install a font on your system.

    • Set the field as required

      I want to make a field required based on which option button is selected. Example:

      Next available date

      Specific date

      If the user selects a specific date then the following date field should be required.

      Thank you for any assistance.

      PARRE

      You can write in the click event of the radiobutton: Java Script

      If (RadioButton1.rawValue == "Value to compare") {}

      SpecificDate.mandatory = 'error ';

      }

      else {}

      SpecificDate.mandatory = "disabled";

      }

      Thank you

      Srini

    • How to set the field as password type entry

      Hello

      In display determination Oracle Web interview, I want to Setup text entry as type of password is entered text should be displayed in the form of points/stars. Please tell me how can this be achieved?

      Thank you
      Sri

      Create a custom control that have a tag html input type is password.

    • Set the label of a VM network

      How to use PowerCLI to set the field "label network" a virtual machine network adapter?

      Thank you

      The network label field is the name of the portgroup to which you connect the NIC of the virtual computer.

      You can use the cmdlet Set-NIC to do this.

      Or do you mean something else?

    • Is it possible to set the width of a text label of a document?

      Hello - we have a library template that is downloaded with labels of text for the merge fields, {{my_text_tag}}.

      Everything works fine, except that in the rendered document, the width of the text field is not set to scale the content in the field, but just the space allocated for the field. That is to say, if we have a field that will contain a number:

      > You will be charged for $30.00 in two weeks.

      in the document, and set the field as:

      > You will be charged for {{weekly_billing_amount}} in two weeks.

      When the fields are merged and then sent to the signatory, the output looks like:

      > You will be charged for $30.00 in two weeks.

      Is it possible to send a parameter via the text field to set the maximum width of the field? something like {{weekly_billing_amount:width(10)}}?

      Thought about it - missed me the dollar sign in front of the defined var:

      {{#dollar =! weekly_billing_amount}}

      {{$dollar}}

      Make the desired output.

    • Set the signature using the API field only

      I have a situation where all PDFs you signed are created for each customer individually and on the fly.

      I must be able to define the scope of the signature using the API only.

      Is this possible? I can't change the pdf file and add any kind of labels. It must be done using an x, the value of the coordinate y.

      Hello Lawrence,.

      If you are looking to set the fields of the form through the API, you can see below reference material:

      https://secure.NA1.echosign.com/public/docs/EchoSignDocumentService21#FormField

      Kind regards

      -Usman

    Maybe you are looking for