Height of row custom setting ListField shaped on 9000 & 9530

Hello

I use the method setRowHeight (int, int) to set the height of a row in a custom list field. It works perfectly in all models except the 9000 and 9530. In these two model, it seems that she ignores my call to the method and it does not change the height.

Everyone knows this or have a possible solution?

Greg

Wow I feel stupid, it was formatted correctly. The screen size is just bigger and I changed the wrong font size so it appeared smaller.

Tags: BlackBerry Developers

Similar Questions

  • How to set the height of row?

    How to set the height of row for my text in EA? I checked this article Edge animate help | Adding text to your project (tutorial) , but it refers to an old version of the environmental assessment.

    Hey Bruce,.

    You can set it in the user interface. Activate additional text settings in the property Panel by clicking on the arrow.

  • The height of the custom selector.

    Hi all

    I wanted my fall down to have multiple lines in a single option.

    But this is not possible, so I implemented the custom selector and put 2 in the same tag,.

    so that I can divide my text string and show it on them, but once again the height of the custom selector does not develop.

    Is it possible to increase the height of a line of the custom selector?

    Help, please.

    The screenshot of my production is attached.

    Here's what I do in createItem()

    VisualNode * PickerItemProvider::createItem(Picker* pickerList, int columnIndex)

    {
    Container * returnItem = Container::create () .background (Color::Yellow);

    returnItem-> setPreferredHeight (200);

    Label * lineOne = Label::create () .objectName ("desc");
    lineOne-> setMultiline (true);
    returnItem-> add (lineOne);

    Label * lineTwo = Label::create () .objectName ("asc");
    lineTwo-> setMultiline (true);
    returnItem-> add (lineTwo);

    Return returnItem;
    }

    Tried adjusting using preffered height/width and page layouts.

    See the link below.

    https://www.dropbox.com/s/y8mplfiw6741chd/assets.zip

    Create a sample project.

    Replace the active unzipped downloaded folder with the sample a...

    Test it and make customization as a result

  • Tables - height of row and cell INSET

    I'm working on ascript to do the following:

    1 put the first row of every table in my doc on these parameters:

    • Height of row = .25in
    • Top and bottom Inset = .04in

    2. put the rest of the cells in these settings:

    • Row height = .12in
    • Top and bottom Inset = .12in

    Here is where I am:

    app.activeDocument.stories.everyItem (). tables.everyItem (Rows) [0] .height = ".25 in."

    app.activeDocument.stories.everyItem (). tables.everyItem () .topInset of Rows [0] = '.04 in. "

    app.activeDocument.stories.everyItem (). tables.everyItem () .bottomInset of Rows [0] = '.04 in. "

    for (x = 1; x < app.activeDocument.stories.everyItem (). tables.everyItem (). rows.length; x ++) {}

    app.activeDocument.stories.everyItem (). tables.everyItem () Rows [x] .height = ".12 in."

    }

    for (x = 1; x < app.activeDocument.stories.everyItem (). tables.everyItem (). rows.topInset; x ++) {}

    app.activeDocument.stories.everyItem (). tables.everyItem () Rows [x] .topInset = ".12 in."

    }

    for (x = 1; x < app.activeDocument.stories.everyItem (). tables.everyItem (). rows.bottomInset; x ++) {}

    app.activeDocument.stories.everyItem (). tables.everyItem () Rows [x] .bottomInset = ".12 in."

    }

    I get this error message and I'm stuck.

    error-1.jpg

    Anyone see anything that would be useful?

    Thanks in advance.

    Indeed there is a parenthesis of additional locking on this line in the screenshot (but not in your lines of the sample).

    I wonder if this construction

    for( x = 1; x < app.activeDocument.stories.everyItem().tables.everyItem().rows.length ; x++ ) {
    app.activeDocument.stories.everyItem().tables.everyItem().rows[x].heig ht = ".12 in";
    }
    

    each could work... For... loop expects a number of end-simple but you feed it with a table of all the lengths of line of the individual tables.

    If this does not work turn around your script. All the heights of line and the boxes using the value

    app.activeDocument.stories.everyItem().tables.everyItem().rows.everyItem().topInset = ".12 in";
    

    and after this, run the lines to make the adjustments of the top row.

    (Use 'Advanced editor' to be able to define syntax highlighting Javascript-, it makes your code a little more readable).

  • Height of row in the list

    Hello

    I'm trying to customize a list.

    I expanded class listCallBack and setRowHeight() in drawlistRow() to set the height of the list.

    My code is:

    / public class Listcallback implements ListFieldCallback {}
    public Vector listElements = new Vector();
    ' Public Sub drawListRow (ListField listField, graphics graphics, int index,
    int y, int width) {}
            
    listField.setRowHeight(Display.getHeight()/4);
    String text = (String) listElements.elementAt (index);
    if(index%2==0)
    {
    graphics.setBackgroundColor (Color.BLACK);
    }
    on the other
    {
    graphics.setBackgroundColor (Color.GRAY);
    }
    Graphics.Clear;
    graphics.setColor (Color.VIOLET);
            
    graphics.drawText (text, 50, y);
            
                 
    }

    public Object get (ListField listField, int index) {}
    Return listElements.elementAt (index);
            
            
    }

    public int getPreferredWidth (ListField listField) {}
    TODO self-generating method stub
    Return Display.getWidth ();
    }

    public int indexOfList (String prefix, int start, ListField listField) {}
    TODO self-generating method stub
    return 0;
    }
    public final void insert (Object toInsert, int index) {}
    listElements.addElement (toInsert);
            
    }

    But this does not have the row height of the first item in the list.

    It is also mentioned in this thread.

    http://supportforums.BlackBerry.com/T5/Java-development/custom-ListField-row-with-images-and-text/m-...

    How can I solve this one?

    Thank you

    Rahul

    You already asked this question you don't have it.

    The only use of setRowHeight suported is to put it in once when you create the ListField.  So do it then, not in drawListRow.

  • How can I customize the height of row or a cell in TableView?

    Hi all


    For example, title. And, if it is possible, if the rows in the table rendered in a TableView may have different line heights?

    Thank you!

    Jason

    Set the preferred height of the cell returned by your custom cell factory.

  • height of row in the tables

    Hello

    I want to adjust the height of the rows in tables, but I could not find the function or the right way to do it.

    The table is in the mode column.

    The line size mode is set to use explicit size

    First, I remove all of the rows and columns, then the following code:

    InsertTableColumns (SA_ScatPosPanel, P_MULT_ROT_Z_TABLE, 1, NbX_Points, VAL_USE_MASTER_CELL_TYPE);

    ColWidth = PlotAreaWidth / NbX_Points;

    SetTableColumnAttribute (SA_ScatPosPanel, P_MULT_ROT_Z_TABLE,-1, ATTR_COLUMN_WIDTH, ColWidth);

    InsertTableRows (SA_ScatPosPanel, P_MULT_ROT_Z_TABLE, 1, NbY_Points, VAL_USE_MASTER_CELL_TYPE);

    What should I add to also set line heights?

    Thank you

    Moreover, Bertrand, you don't have to use a loop if you do not want. You can rewrite the above code as follows:

    InsertTableRows (SA_ScatPosPanel, P_MULT_ROT_Z_TABLE, 1, NbY_Points, VAL_USE_MASTER_CELL_TYPE);

    SetTableRowAttribute (SA_ScatPosPanel, P_MULT_ROT_Z_TABLE,-1, ATTR_SIZE_MODE, VAL_USE_EXPLICIT_SIZE);

    SetTableRowAttribute (SA_ScatPosPanel, P_MULT_ROT_Z_TABLE,-1, ATTR_ROW_HEIGHT, RowHeight);

    Luis

  • adjust the height of the custom via AS3 component

    The lower class is used as a custom itemRenderer and I want to adjust the height of the VBox to its contents (child), or perhaps the easy way would be just set it to 90%. But it needs to be reset every tempsThe dataProvider is passed.

    SerializableAttribute public class TextDynamicLayout extends VBox
    {
    // .. code removed for brevity

    override protected function measure (): void
    {
    Super.Measure ();
    percentHeight = 90; This does not work as expected
    measuredHeight is MaxHeight = 50;.
    }
    }

    As you name the class TextDynamicLayout, it means you are trying to manage the text back.  It requires transmission explicitWidth the VBox for controls of text before they get measured.  Return text can be any size, so it must have fixed width to determine its height.

    The list classes do not support percentages on rendering engines.  All converters are actually given a size according to the size of the list (or the size of column DG).  You can see how explicitWidth is handled in the default rendering engine by looking at the source for ListItemRenderer.as.

    Note that VBox or any container is made for a cumbersome and slow.  That is why the Flex UIComponent to extend default rendering engines and have custom Measure [] and updateDisplayList() methods.

    Alex Harui

    Flex SDK Developer

    Adobe Systems Inc..

    Blog: http://blogs.adobe.com/aharui

  • Help needed in a logic of custom setting propert

    Hi all

    I need logic to be implemented in the below scenario condition, condition of parameter

    It is a condition of setting I gave for a property, I, e custom.default parent

    IF (Equals (Integer, PropValue (Core.Level), 1), #root, propvalue (Core.parent))

    Which works very well and gives me the value as #root for any Member having level 1 and gives corresponding parents of the Member having the different level of 1.

    My request here is if there is a member I, e A1 under the terms of one and the same Member is here as a member shared as A1:shared001 under B

    Default parent of the A1 gives me the value has and

    Parent of default value of A1:Shared001 gives me the value B rather than (A)

    But he wants my condition to give the default shared member even parent as the default parent of the primary member.

    Hello

    You can try the below:

    IF (Equals (Integer, PropValue (Core.Level), 1), #root, if (PropValue (Core.PrimaryFlag_MDM), propvalue (Core.parent), NodePropValue (propvalue (Core.PrimaryName_MDM), Core.parent)))

    Let me know if it works

    Thank you

    TFDC

  • Height of row in a bulleted list.

    My client wants to double space between the balls, but simple spacing between wraps.  If I use the line height in the list item, it areas everything also.  How can I get the effect she wants?

    The only way that I can understand how to do this is by creating the < ul > individual for each element, but it becomes really messy, and my client is using Contribute, so it is too messy so she can understand.

    For example, instead of this:

    Screen shot 2011-06-17 at 9.46.53 AM.png

    She wants this:

    Screen shot 2011-06-17 at 9.47.02 AM.png

    I don't know that it's probably pretty simple.  If you can do this in Word, then there must be a simple way of this style?

    Thank you

    Jules

    You are right about what happens when you use the row height.  What you really want to do is to add a padding-bottom to the class for your list items of "li".  This will give you the spaces after every ball.

  • custom setting simultaneous program

    Hi all

    I want to set a parameter of type DATE for a custom of concurrent program

    in the code (SQL * more) I entered a similar State
    where a.START_DATE = '& 1' '.

    in the simultaneous parameters to the title of the validation form
    value = FND_STANDARD_DATE
    Defalut type = current date
    Ticked set out

    When I run the query is gives error, with the output given the message file
    where a.START_DATE='2009/11/05 00:00:00 '
    *
    ERROR on line 14:
    ORA-01861: literal does not match the format string


    I use the correct set of values? Please suggest

    Thank you
    SK

    Salvation;
    *

    ERROR on line 14:
    ORA-01861: literal does not match the format string

    Have you checked line 14? Please check below and see its helpful:

    Topic: How to manage the new Date Formats in SQL * more and PL/SQL procedures? DOC - ID: 376034.1
    Subject: OERR: ORA literal 1861 does not match the format string Doc ID: 19185.1

    Please also visit:
    http://www.FP.Tue.nl/dfez/FIM/Portal/doc/Conc_req.PDF
    http://www.techonthenet.com/Oracle/errors/ora01861.php

    Concerning
    HELIOS

  • Height of DataGrid--dynamically set in ActionScript

    When a DataGrid is set dynamically at runtime using an XML source, how you set the height of the DataGrid to display all items?

    I tried:

    myDataGrid.height = myXML.items.length * myDataGrid.rowHeight;

    The DataGrid control is always 1 pixel height (showHeaders is set to false)

    TIA,
    George

    Found!

    It was a programming error! It should be:

    myDataGrid.height = myXML.items.length () * myDataGrid.rowHeight;

    Note that length() is a method call. It turns out that E4X treated length (no parens competence) as a child element and is not a.

    Still learn E4X, it rocks!

    Thanks for the help Tracy!

    George

  • Problems to return several rows with setting SLIDER and SO, to OTHER DBMS_OUPUT

    Hi people

    I use 11g Express Edition 11.2.0.2.0.

    I'm trying to return the name of a student, all of their exams, grade, grading and if it is a pass or fail.

    In the code I 'fiddled', if the student has failed it works. However, if the student has spent just returns 'result = Pass' and cannot return their name, rank and tests, pass mark.

    Second question (and please let me know if I need this post in a separate thread) is if a student has completed multiple tests, it returns only one.

    Thanks for any advice you can give me.

    SET SERVEROUTPUT ON
    DECLARE 
      CURSOR c_pass_fail_cursor 
        (p_studentid number) IS
        SELECT students.firstname,
          test_history.score,
          test_id.test_name,
          test_id.passing_grade
        FROM students
        INNER JOIN test_history
          ON students.STUDENT_ID = test_history.student_id
        INNER JOIN test_id
          ON test_id.test_id = test_history.test_id
        WHERE students.student_id = p_studentid
        AND test_history.SCORE < test_id.passing_grade;
        
      v_name students.firstname%type;
      v_score test_history.SCORE%type;
      v_test test_id.test_name%type;
      v_passing test_id.passing_grade%type;
      v_result varchar2(4);  
        
    BEGIN
    
    
      OPEN c_pass_fail_cursor (1);
      LOOP
        FETCH c_pass_fail_cursor INTO v_name, v_score, v_test, v_passing;
      EXIT WHEN c_pass_fail_cursor%notfound;
      END LOOP;
      CLOSE c_pass_fail_cursor;
      
      IF v_score < v_passing then
        v_result := 'Fail';
        DBMS_OUTPUT.PUT_LINE (v_name || ' ' || v_score || ' ' || v_test || ' ' || v_passing || ' ' || 'Result = ' || v_result);  
      ELSE
        v_result := 'Pass';
        DBMS_OUTPUT.PUT_LINE (v_name || ' ' || v_score || ' ' || v_test || ' ' || v_passing || ' ' || 'Result = ' || v_result);
    
    
      END IF;
      
    END;
    /
    

    Hello d670...

    I would try this code:

    DECLARE

    p_studentid NUMBER;

    v_result VARCHAR2 (20);

    BEGIN

    p_studentid: = 1;

    FOR rec_result IN (SELECT students.firstname

    test_history.score

    test_id.test_name

    test_id.passing_grade

    Students

    JOIN test_history

    ON students. STUDENT_ID = test_history.student_id

    JOIN test_id

    ON test_id.test_id = test_history.test_id

    WHERE students.student_id = p_studentid

    AND test_history. NOTE < test_id.passing_grade  ="" --=""> this line needs to be removed!

    )

    LOOP

    IF rec_result.score<>

    THEN v_result: = "Fail";

    ANOTHER v_result: = "Pass";

    END IF;

    DBMS_OUTPUT. Put_line (rec_result.firstname |) ' ' || To_char (rec_result.score) | ' ' || rec_result.test_name | ' ' || To_char (rec_result.passing_grade) | ' ' || "Result =" | v_result);

    END LOOP;

    END;

    /

    I hope it helps.

    Best regards, David

  • Calculation errors when entering the set currency shaped numbers

    I have created a form that has several fields all defined as numbers using currency formatting:

    CurrentBase, which is the rate of monthly remuneration which passes from the user

    CurrentYearly, which is the rate of pay annual and is calculated as CurrentBase * 12 - it is read only

    CurrentOvertime which is an estimate based on 6% of the CurrentYearly and the user can replace.

    As an event OnBlur in CurrentBase, I use this code:

    var cYear = this.getField ("CurrentYearly");

    this.getField ("CurrentBase") .value = cYear.value * 12.

    this.getField("CurrentOvertime").value = cYear.value * 0.06;

    I also have a CurrentTotal field that is the sum of CurrentYearly and CurrentOvertime, defined in the custom for CurrentTotal as calculation script:

    this.getField("CurrentTotal").value = this .getField ("CurrentYearly") .value + this .getField ("rrentOvertime Cu") .value;

    Here's the problem:

    If I get a CurrentBase, for example 1234 my script correctly calculates the CurrentYearly ($ 14 808,00), CurrentOvertime ($888,48) and CurrentTotal ($ 15 696,48) correctly.

    If I replace the CurrentOvertime using something like 555.00 total now calculates correctly, in this case $15 363,00

    But if I type 555. (omitting the decimal values) my CurrentTotal displayed as $14,808,555.00

    This seems to be a bug.  Any thoughts on why and how to fix it.

    Bob

    The value is treated as a string instead of a number, so it is just to be

    concatenated value, instead of added to it.

    The solution is to explicitly convert the value to a number, which can be

    done in many ways. The easiest way is to add a symbol more in front of her,

    as follows (the brackets are not required, but they make it easier to read):

    this.getField("CurrentTotal").value =.

    (+ this.getField ("CurrentYearly") .value) +.

    (+ this.getField("CurrentOvertime").value);

  • Set cell shaped crosstab

    I have a requirement where I need to format the cells in crosstab such that only certain cells should be turn into blue.
    I'm a newbie to BIPublisher and don't know how to do it.
    I imposed a field of conditional formatting to a condition in the cell. but when the preview of the output, I noticed that the entire line is blue (instead of only a few in the same row) regardless of the condition.
    any help is appreciated a lot.

    Thank you

    Put this after G

     5?>#FF0000
    

Maybe you are looking for

  • Cannot copy and paste links in Facebook comments

    For some reason, from ten days previously, I can't no longer paste links in the fields of Facebook comments. I can paste text; but when I copy a link and try and paste it, nothing happens. It's like I never copied the link. I followed the suggestions

  • Can I connect a DVD multiregion for Satellite Pro M30 Series drive?

    Dear all, I want to know if I can connect to my laptop multiregion DVD player to play DVDs in regions other than 2 or alternatevly can buy multiregion DVD player? Thank you.

  • Hoe erase files with Windows Media Player

    When I try to delete a song in the media player, it is not deleted.  Most of the time I find a song here two or three times, but I cannot delete them. [Moved from comments]

  • HP's TouchSmart with Vista - need to upgrade, but not sure it?

    Hello! My husband gave me the touchsmart and didn't know that Vista wasn't good for my software that I use. I need to upgrade to 7, but not sure we should I get or if it will affect on the touch screen. can someone help me please? I think its a prett

  • Icons of the invisible taskbar! Help!

    Hi guys, so I got this problem when I started my computer today. I realized that the taskbar is empty, when it used to be filled with other icons. When I tried to pin the icons back, it shows just an icon with a black circle and a slash in there When