Strange question - width ListItem

While developing applications, I noticed a strange question.

When I draw list in qml item available, it's very nice on an excerpt:

I put

horizontalAlignment: HorizontalAlignment.Fill

and the width of the list item fill all empty space, but when I check the list on Simulator it encapsulates the width of content?

Does anyone know how to set the width of the listItem to fill all the space from left to right?

To sum up,

I want to have (and it looks like this on qml overview):

but I get this (width of list point fits only the content):

Thanks in advance.

Hi, there may be simpler but for me it works using the spaceQuota:

ListItemComponent {
    type: "item"
    Container {

        background: Color.Red
        Container {
            preferredHeight: 230     

            layout: StackLayout {
                orientation: LayoutOrientation.LeftToRight
            }

            Container {

                layoutProperties: StackLayoutProperties {
                    spaceQuota: 1
                }
             }
         }
     }
}

Tags: BlackBerry Developers

Similar Questions

  • If the hard disk dies this affect router/WiFi?  I know that this seems to be a strange question.

    If the internal hard drive dies this affect router/WiFi?  I know that this seems to be a strange question.  Logically, they seems to be two independent functions.  However, since I do not understand how it works...

    I plan to spend my old airport extreme (about 7 years) at an airport new Time Capsule or Airport Extreme for better wi - fi range.

    Where the internal hard disk come into your Airport Extreme or Time Capsule dying airport upgrade?

    If the disc is dead, it will be not not to be replaced. This should be done first before to other devices.

  • Strange question, craps remaining after the system recovery on my windows xp desktop.

    Strange question, thank you for your comments!

    I just reinstalled windows xp on my old HP desktop HP Pavilion Media Center TV m7334n PC computer using the recovery on D partition. I expect that the installation would be a clean install. At the beginning of the recovery, I noticed the message on the screen saying that the backup was in process. After recovery, I could start my computer and realized that used disk space C was still as the space of C drive used before the restoration. I also noticed that there was a lot of pre-installed programs appears on the list of start - all programs. I never installed them after recovery. Many of them work. I expect a CLEAN installation. It is not clean at all.

    Furthur inspection on the system to reveal problems:

    1. I noticed that there are so many records under the program folder program files on the C drive (I have only one program fichiersDossier). I guess that the recovery process copied evething under my original forder of program files in this folder. I don't have anything I can use most of them because the links were scattered on a large number of them (I can't run the program of either start - all programs or folder directly). Is not at all a CLEAN installation.

    2. the recovery process also copy my document in the folder as well original user, see below to understand which is the original file of the user.

    3. originally, in my computer, I have two users (or 3 including comments), we came to HP-administrator with the computer, is another family.  On the computer I just recover, there are 3 users accompanying the recovery. They are administrator, hp-administrator and guest. I've renamed the family administrator. Now, under systems and settings, I see the user plus two records. They are administrator-YOUR-4DACD0EA75 and hp-administrator-YOUR-4DACD0EA75. YOUR 4DACD0EA75 sounds familiar. I can remember that I was lazy and that it has not changed the computer name during installation after recovery. YOUR 4DACD0EA75 is actually the default name given to me during the installation. I don't like this at all, so I changed the name of the computer and restarted the computer. The name of the computer was changed after the restartup, but ugly folder names remain the same and I can not even rename the ugly file name.

    I had done some restorations system on this computer before, I never noticed a problem like this before.

    1 have we seen this before?

    2 I forgot something?

    3. can I safely delete the original user profiles and records under the program folder program files?

    4. can I do a system recovery really CLEAN? I understand that the crapware will be installed during the system recovery. I'm ok with that, what I want is my pc to be recovered to the original state of the plant.

    5. I can read is no longer my 1st disc restore dvd. Is it possible to make another set of recovery disks?

    Thanks for reading my long message!

    1 have we seen this before? I saw something similar and other relief to be fixed.

    2 I forgot something? I don't think so. Just do an another hard drive recovery. Try again is all I can think about.

    3. can I safely delete the original user profiles and records under the program folder program files? I would'nt mess with her. Just do another hard drive recovery system.

    4. can I do a system recovery really CLEAN? I understand that the crapware will be installed during the system recovery. I'm ok with that, what I want is my pc to be recovered to the original state of the plant. Yes. Used hydrogen peroxide call destructive (or full) non-destructive vs. Make a full - restoration destructive to put things o back the way you bought it.

    http://support.HP.com/us-en/document/bph07145

    5. I can read is no longer my 1st disc restore dvd. Is it possible to make another set of recovery disks? By all means, out juice of repair disk and try to get it back. If you can repair the disk, make a copy or 2 whole and store them in a safe place. Otherwise, you will have to order them from somewhere on the Web... as a popular auction site.

    Thanks for reading my long message! You are welcome. Thanks for posting. I hope my answer helps.

  • Strange question - data double on table 12 c JDev

    Hello

    I have a strange question in my table. I use Oracle JDeveloper 12 c. In my page, I use 2 VO and a secondary has a problem with the display of data - it displays two times. Heard that I deleted the table and put it in my page and always the same problem.nodatatodisplay.png

    No matter if I have all the data to my record in the table primary or not, when there are data to display then it shows twice. I do not know it can help, but for more information table is located in the popup.

    Anyone have this problem?

    Kind regards

    WK

    You must specify exact jdev version (there are two versions of 12 c)

    I had this problem in 12.1.2(a il y a longtemps, et à cause de trop de bugs dans cette version je n'a pas pris la peine de trouver la raison), but it seems that this problem went to 12.1.3(at moins, pour mon application)

    Dario

  • This may seem like a strange question, but im trying to encode two buttons Flash Adobe, next and previous, however, when I put the thumb to the next scene and play on the next button and the previous scene and play on the previous button, it keeps switchi

    This may seem like a strange question, but im trying to encode two buttons Flash Adobe, next and previous, however, when I put the thumb to the next scene and play on the next button and the previous scene and play on the previous button, it keeps switching autour.

    If you have symbols of button on the stage to the next and previous, each of these symbols has an instance name with a listener event attached to it. The event listener is linked to a mandate. You can have a single event point to a function. So for example, if you have a next button and a click event that points to a function that says something like nextFrame(); and then you want to use the next button to point to a function that says something like nextScene(); you will need to use another instance of this next button and have this different instance to use a different event handler to point to a different function. Who help me?

  • Strange question USB CPU intense operations...

    So I was hitting this strange question lately with my R4 Aurora...

    During an intense application or game, the power of my keyboard & mouse will start go on and outside... fan start office turns up and down at the same time. The computer will continue to function, but as the USB power goes on and outside, I can't use the keyboard to stop. I can hit the power button on the computer and usually it stops just fine.

    Could be that your diet is more stressed.

    If you connect a USB2 Hub supplied with 50W power brick, what happens?

  • strange question use stop() to control a scenario after loadClip

    Hello, I have this strange question:

    I want to control the scenario of a swf file loaded with loadClip command.

    I wrote this code

    var loader: MovieClipLoader = new MovieClipLoader();

    loader.addListener (this);

    function onLoadComplete(_mc:MovieClip) {}

    _mc. Play()

    };

    loader.loadClip (swfname, _root.holder)

    function pause() {}

    _root.holder.stop)

    }

    function pause a button is used to stop playback of the loaded movieclip.

    strange thing is that stop() works when you test the movie by the flash application and plays from the projector. It DOES NOT WORK when he runs by embed code html in swf or swf directly.

    I checked a lot of time and the name of the 'container' is resolved, but the command does not work for his screenplay.

    thanx for help

    Daniele

    you wouldn't expect this stop() never work.  Once the loading starts, stop() no longer applies to the target of a loadClip (or loadMovie) method.

    to resolve, use the stop() on the first frame of the loaded swf file editing.

  • Strange question: How do new dimensions go upwards, not downwards?

    Hey, I have a strange question. When I change the dimensions on a document and for example make it bigger, the bottom becomes higher in the direction down. But... How can I get, if you know what I mean? When I do the larger dimensions, why he cant increase upward?

    Does anyone know how to do this?

    The dimensioning of the scene is based on the top left corner, any change in the size will be push to the right or down.  You can't change what I know.

  • strange question by inserting the data...

    Hi everone,

    I have a strange question. I'm not looking I do something wrong or is this a bug?
    I do a simple ' insert into table (select statement). Everything is ok... It's inclusion. But when I run the
    "select statement" separately (actual data I need to insert), I get different data inserted in the table.

    -> I have observed something else where there is a "case statement" in the selection m than the data in the table are spoil...

    EX:

    SELECT TRIM (member_span.member_nbr) member_nbr-> this one I see the correct data
    (
    CASE
    WHEN SUBSTR (member.member_nbr, 10, 2) = '00' THEN TRIM (member.member_nbr)
    Of OTHER SUBSTR (member.member_nbr, 1, 9). '00'
    END Subsciber_nbr),-> This data are spoil seeing incorrect data in the table...


    Database version:

    Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bi
    PL/SQL Release 10.2.0.2.0 - Production
    "CORE 10.2.0.2.0 Production."
    AMT for HP - UX: release 10.2.0.2.0 - Production
    NLSRTL Version 10.2.0.2.0 - Production

    < b > "" "did exactly the same thing in a different database. I don't have any problems out there"" "I'm getting problem only with this database < /b >"

    Anyone know a bug related to this problem?
    INSERT
    INTO member_load(member_nbr,   subscriber,   ymdbirth,   security_group,   group_nbr,   network_id,   cob_date)
      (SELECT TRIM(member_span.member_nbr) member_nbr,
        (
       CASE
       WHEN SUBSTR(member.member_nbr,    10,    2) = '00' THEN TRIM(member.member_nbr)
       ELSE SUBSTR(member.member_nbr,    1,    9) || '00'
       END) subsciber_nbr,
        (
       CASE
       WHEN LENGTH(member.ymdbirth) = 8 THEN member.ymdbirth
       ELSE NULL
       END) dob,
        (
       CASE
       WHEN TRIM(member_span.group_nbr) IN('108076',    '108077',    '108078',    '108079',    '108080',    '108081') THEN 'E'
       WHEN TRIM(member_span.group_nbr) IN('107001') THEN 'M'
       WHEN TRIM(member_span.group_nbr) IN('107005') THEN 'J'
       ELSE 'A'
       END) security_grp,
         TRIM(member_span.group_nbr),
        (
       CASE
       WHEN TRIM(member_span.business_unit) = '01' THEN 'N' || TRIM(member_span.business_unit) || '-' || TRIM(member_span.prog_nbr)
       WHEN TRIM(member_span.business_unit) = '03' THEN 'N' || TRIM(member_span.business_unit) || '-' || TRIM(member_span.prog_nbr) || '-' || TRIM(member_span.carrier)
       ELSE NULL
       END) network_id,
    
        (
       CASE
       WHEN LENGTH(member.ymdverify) = 8 THEN member.ymdverify
       ELSE NULL
       END) cob_date
       FROM member_span @dblink,
         member @dblink
       WHERE member_span.ymdeff > 20090908
       AND member.member_nbr = member_span.member_nbr
       AND TRIM(void) IS
      NULL
       AND member_span.member_nbr NOT IN 
        (SELECT member_nbr
         FROM member_span @dblink
         WHERE(20090908 BETWEEN ymdeff
         AND ymdend)
         AND TRIM(void) IS
        NULL)
      )
    ;
    Please help me with this question...

    Marella Phani wrote:

    sven
    
    different NLS settings....
    How can i find the NLS setting on both the databases..
    can i query some metadata table to find that..
    

    Please let me know how to proceed

    Anurag...

    It is not the problem with my SQL (that I know of). It gives a correct output that I need when I simply run the SQL query.
    I just give a few examples of data (no real data).

    But when I run Insert in staging_table (select statement). I do not see the correct data in staging_table...

    Thanks for all the replies...

    You can check your NLS settings with

    select name, value, isdefault from v$parameter where name like 'nls%';
    

    or in sql * plus with

    SQL> show parameter nls
    
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    nls_calendar                         string
    nls_comp                             string
    nls_currency                         string
    nls_date_format                      string
    nls_date_language                    string
    nls_dual_currency                    string
    nls_iso_currency                     string
    nls_language                         string      AMERICAN
    nls_length_semantics                 string      BYTE
    nls_nchar_conv_excp                  string      FALSE
    nls_numeric_characters               string
    nls_sort                             string
    nls_territory                        string      AMERICA
    nls_time_format                      string
    nls_time_tz_format                   string
    nls_timestamp_format                 string
    nls_timestamp_tz_format              string
    SQL> 
    

    Please be careful, that my comment about to_char was that under the assumption that you have a column for the number. If the column is VARCHAR2, do not add an extra TO_CHAR around this column. He could not give problems, but is not necessary (I think it can give problems in 9i, but impossible to find a small example yet).

    An idea to find the source of your problem would be to change the NOT IN subquery. At least in a NOT EXISTS a subquery. Or even better find a way to access the remote tables only once instead of twice.

    not exist

    INSERT
    INTO member_load (member_nbr,   subscriber
    )
    (
      SELECT TRIM(ms.member_nbr) member_nbr,
        (
       CASE
       WHEN SUBSTR(ms.member_nbr,    10,    2) = '00' THEN TRIM(to_char(m.member_nbr))
       ELSE SUBSTR(to_char(ms.member_nbr),    1,    9) || '00'
       END) subsciber_nbr
       FROM member_span@dblink ms,
         member@dblink m
       WHERE ms.ymdeff > 20090908
       AND m.member_nbr = ms.member_nbr
       AND TRIM(ms.void) IS
      NULL
       AND NOT EXISTS
        (SELECT null
         FROM member_span@dblink ms1
         WHERE (20090908 BETWEEN ms1.ymdeff AND ms1.ymdend)
         AND TRIM(ms1.void) IS NULL
         AND ms.member_nbr = ms1.member_nbr)
    
    )
    ;
    

    Is ymdeff a number or a string? If it is a string, then change 20090908 in '20090908'. If it is a number then keep as it is.

  • Strange question sound P30

    I have a new laptop P30 and I have a strange problem with the audio.
    It happens with the internal sound card as well as with a fireware external motu 828 audiocard (strangely).

    ((There are a lot of cracks and noises when no sound is playing... and it goes up and down when the hard disk or dvd) also with data) works.

    most strangely using headphones with internal sound card is no backgorund noise... and also with headphones connected to the audio card firewire... no noise at all. everything is clear and good.

    the strange thing is that the problem disappears when the laptop is on battery and no power adapter plugged.

    I'm going crazy with this... also because I manly use Notepad for recording audio...
    help resources!
    Simone.

    PSI changed cables and other things. .. but no difference
    audio turns off from the motu and analog goes into a blender and toaudio monitors. everything works well.

    Hello Simone

    You will be very happy boy if someone on the forum has experience with such things. In my opinion you should also check the MOTU support page. I'm sure that there must be someone with more experience to these specific questions.

    Good luck!

  • BlackBerry Smartphones strange question need help ASAP!

    I have a strange problem with my Blackberry "BOLD" 4 9900, sometimes when I receive or make a call, the phone is connected and I don't get 2 hear the person at the other end, and vice versa, the only solution for this is hard reboot the phone that is like taking the battery and have it pop back in and then things works very well and it's soething that happens daily is there a way to diferrent without restarting the phone and why it happens instead of 1 m, also I got the replacement of the device like the previous, it was cut and after investigation of blackberry, they gave me a new device. The version of the OS in the mine is 7.1.0.746 (2108), I was invited by the service 7.1 bundle downgrade and backup center 1646, which I am not ready to do what it takes forever and I have to reinstall all the software back and set up e-mail. What would you suggest?

    Also the latest BBM version which is 7.0.1.23 is installed, my phone that has WiFi but unlike previous versions where they had a backup and restore under backup management option that is no longer there, there at - it a way to get that back, I had uninstalled and reinstalled BBM but still does not work and the desktop software is not save BBM groups or pins?

    Bold_4_9900 wrote:
    Well thank you for the steps of IMRT I'll take an impression outside until I do it just to be double sure and I installed restart me that works well but has 2 questions in my mind. Why my phone should behave mumb silent n when I get a phone call or have to do one and the is to run return is of restarting it.

    This happens usually when application runs in the background, or because of any unknown third-party application installed within our system, or due to lack of memory. Reboot to shoot some time A battery is enough to solve this problem. If press and hold the Menu for a few seconds, it will appear a screen that will display all the programs running in the background, usually five will always be there (host, BBM, Message, phone, browser) you can always check if any other applications. are running in the background, if they then close them properly.

    We should always try to close Applications correctly - avoid using key end to close the applications because it just minimizes the application and let it run in the background. Instead, press the Menu key, select close or Exit to exit the application. Do not leave your browser open on a page of Web active when not in use. If programs are running in the background, that this will lead to problems that you are experiencing now. Please take a look at this Article, I don't know that it will help you overcome your problems:

    KB14320 : How to maximize the battery life and available memory on the BlackBerry smartphone.

     

    Bold_4_9900 wrote:
    Also, you mentioned the OS upgrade to make the site of Vodafone UK as it approves Indian have not come out, I hope it's a generic file and has nothing to do with zonal or regional my phone settings.

    There is no generic OS! The link I gave you is an official OS from Vodafone UK, install it without any hesitation he will not affect your device 

    Let me know if you have any questions.

  • Interface strange question - everything that we step back, evil framework presented in preview in the comp Viewer

    Hello

    I'm trying to fix a problem with After Effects CS6 that has appeared recently. The Comp Viewer seems to be rendered behind which sits the playhead of a picture. For example if I use PageUp and PageDown move forward and backward between frames, the frame that appears is the previous frame to that indicator sits to the timeline. As soon as I hit the previous or following once again it shows the frame which would have disclosed last.

    Also if I use the mouse wheel to zoom in/out of the comp Viewer, it also accused a step behind, i.e. to zoom, nothing happens... Zoom again, zoom to the 1 step... To zoom out, zoom IN another step... To zoom out, zoom 1 step.

    Everything works perfectly until I recently updated to Quicktime, Nivida pilots and adjusted some parameters for another program (Cubase) to work with the video. After that, I was unable to get After Effects works again. The strange thing is that I now properly installed Windows 7 and tried running AE at different stages (print drivers and version of QT), then updated everything (including all Adobe, graphics drivers, Quicktime products) and I have exactly the same problem on all points. CS6 is currently the only program on the computer.

    I tested this problem with. R3D (Red camera) files with H264 'normal '. MP4 files. I also tried to use the files from an external drive. Exactly the same problems in all cases.

    Data sheet:

    Windows 7 64 bit

    16 GB of RAM

    2 x Nvidia Quadro FX1700

    Help would be greatly appreciated that I can't find anyone else encounter this problem.

    Thank you very much

    Ben

    SOLUTION:

    I diagnosed the problem; It relates to the use of dual screen with two separate graphics cards. The problem can be tested for by race AE full-screen on one monitor, then the other. The question should be on one of the two screens. Once sent, I was able to run AE on each screen OR spanning the two without problem.

    TO SOLVE:

    After effects CLOSED, open Nivida Panel and select 'manage 3D settings '. Choose "Open GL made GPU" in the list of options and select 1 of the 2' or 2 of 2' but not 'Auto '. Apply the changes and the re - open After Effects.

    I very much hope that that someone saves some time!

    Ben

  • Behavior strange question slides as well as a countdown timer!

    Hello Captivators,

    I am facing a strange behavior on the slides in question with a countdown. Whenever I have put a countdown on a question slide, one of the options and answers disappear. What's not here? Am I missing anything in the settings?

    I am using Captivate 8 (Trial Version).


    Question_Without_Timer.png


    Question_With_Timer.png

    Thanks in advance for your support.

    Greetings

    Please, do not post the same question twice... Will check this point, but had to read your question twice. Not very friendly to post in several forums.

  • Strange question by using a layer to key as hidden by approach

    Hello world

    I have a strange problem on a model that I work with and because of the way his game upward and the pre comps etc, I don't know yet how to ask questions!

    So, please excuse the next long-term, attempt to explain:

    (1) to start:

    I have a comp with 3 layers of images. A background image Moving 4 K of video blocks, interpreted at 25 fps. A clip of R3D of one of our ships, the camera on a tripod and the ship "Waggling" kept a little up and down - in RAW mode for own overlay. A duplicate of this layer, used as the color corrected layer.

    I have a comp that contains the raw footage, key and then set it to the color corrected images below, Alpha matte.

    01 - Track matte settings.JPG01 - Track matte wing.JPG

    Above is the settings and exit from the squadron of ships.

    It is then precomped and engine lights, streaks and propellants etc. are added with Null objects, lights, optical flares including:

    02 - Precomp Settings.JPG02 - Precomp wing.JPG

    at this point, everything is great, it is then more precomped in a new comp, where it is placed above the background layer - and here is where the problem occurs. It's almost as if the trackmatte is a frame or two behind the color layer:

    03 - final comp settings.JPG03 - final comp wing.JPG<-note the blue edging to the blue screen.

    I followed these layers and back up the precomps, and I can't understand why this happens? I guess I made a really stupid mistake and will gladly apoligize publicly when I find it!

    I don't know what else I can send to help understand this (keyframes on the trackers above there, and the precomps of drag to position and scale change over time on the layer of ship in the final model.) If I pull the precomp ships in the final model as a new layer - the problem remains. If I double click to open the layer of the vessel, the question is not visible.

    Well, that's it. Thank you all.

    Stone

    Why did you settle your final model to 29.97 FPS rate?

  • Strange question Essbase - calculation doesnot return good result in MaxL

    Hello

    All veterans of Essbase, need your help for this strange issue.

    We run Essbase on UNIX and we have an OSI application where a daily batch process works for aggregate database of real-world scenario and Budget. Strange things, it's the night aggregation process is not correctly aggregate data, as we see variance between stored and shared hierarchies. But if we manually execute the same aggregation through the service console Regional, aggregation gives good results with zero gap between stored and shared hierarchies.

    In the script of aggregation we clear senior level blocks (with UPDATECALC on OFF), and then use CALC dim on the accounts and the entity to aggregate the results.

    This question has been very strange to my little experience the same calc behaves differently when called in MaxL.

    Any suggestion useful to nail, they are welcome.

    Thanks in advance!

    >

    Is not dense dimension meant to aggregate properly (as it is in a block) in a single pass. I am confused because I know that the theory is in conflict...

    In addition, Parents can be marked TWO PASS (that I see no strong reason to make them two passes).

    Published by: user10725029 on May 2, 2012 20:30

    If the dimension is marked as the size of accounts and and you have two pass members that are not dynamic calc, running the default calc will do the calculation in a single pass. Otherwise if they are stored members, then you must make a twopass calc. If you have twopass in another dimension the dimension of accounts, it must be dynamic or or it will not calculate in two passes

Maybe you are looking for

  • File Vault passwords and keychain.

    File Vault prevents unauthorized access to passwords stored in the keychain?

  • Laptop which is better for me?

    Hello! Eather im going to buy, HP Pavilion Gaming 15-ak005no Processorfamily processor Intel® Core™ i5 processor processor Intel® Core™ i5-6300HQ med Intel® HD Graphics 530 (2.3 GHz, up to 3.2 GHz, 6 MB cache, 4 karnor upp) or   HP Pavilion Processor

  • How can I move 5 different photos in one folder?

    I need to create a folder for 5 different photos and get them organized in a single folder - thx cajunbill

  • HP Folio13: Reset Bios Password Folio 13

    Hello After that 3 failure tent I get system disabled and code 84608061.  It is a Folio 13 running Windows 7

  • Resource VISA does not list options

    I have a .VI which works very well on my computer windows 7. When I move the arduino on my computer windows 8, the VISA resource for the icon of init Arduino does not recognize the COM ports. This option is refresh. It shows on my devices like Arduin