Resizing WaveformChart adds 24 pixels for no reason

Hello all,
I've been working on automatically resizing the front panel of a VI I use very frequently on many different computers.  It's all working quite well, but I've run into a strange bug that's driving me insane.  A screenshot of where the problem occurs is below:
The rest of the code isn't really relevant (and there's a lot of it), but suffice it to say, I'm scaling the size of the waveform chart and it's accompanying legend according to a scaling factor that works for my application as determined elsewhere.  The scaling factor is coerced to be between 0 and 1 as a double.  It works beautifully for every value I've tested it on, except if the scaling factor I'm multiplying by is 1.  When the scaling factor is 1, the legend width (LegWidth above) somehow gets 24 pixels added to it.  Probing what I read from LegWidth, what I write to it after multiplying by the scaling factor and the scaling factor itself, everything looks great.  It starts as 270, I multiply by 1.00, the value I write to LegWidth on the other side is 270 as expected.  But the legend grows 24 pixels wider (making it look awful) and subsequent calls to this same code show that the value is now 294.  Probing again, everything appears to be doing what it's supposed to (294 is read, the scaling factor is 1.00, the write value is 294) and again the legend grows by another 24 pixels.  Same story for subsequent executions, every time i call this code another 24 pixels is added despite that never showing up in my code.  An XY Chart in another tab on the same tab control has the exact same behavior (legend grows 24 pixels wider for every resizing).
So, I can fix this easily by adding a case statement to not execute this code if the scaling factor is 1.00, but it worries me that this isn't behaving correctly.  Are there any settings that could be affecting this?  Autosizing the legend is definitely turned off.  I don't think it's another part of my code because it works beautifully for all other values I've tested.  For the record, I'm running 32 bit Labview 2013 on Windows 7 with a 64 bit processor (Intel Core i7).  Any ideas/thoughts are appreciated, I'm pretty thoroughly stumped and about to just add the case statement and live with the anxiety that my program is going to start adding 24 pixels in undesired places against my will...
Kevin

Can you attach your actual VI rather than just a picture of a portion of your code so that we can experiment with?

Similar Messages

  • I am unable to add Firefox for some reason. I get a message that "the addon could not be downloaded because of a connection error on Mozilla.addons..."

    I am running Firefox 10 on my MacBook Pro. I have tried several times to download the Firebug addon, but get the following message:
    "The addon could not be downloaded because of a connection error on Mozilla.addons.org"

    Type '''about:config''' in the Location (address) bar and press the "Enter" key. When you see a warning, click '''I'll be careful, I promise!''' button.
    -> right-click somewhere, click '''New''' -> select '''String'''
    * name it '''xpinstall.enabled''' and set the value to '''True'''
    -> Close the '''about:config''' tab and then Restart Firefox.
    All the downloads should work now. If you delete this value some time later it still works.
    Check and tell if its working.

  • I just bought a new printer for my iMac version 10.7 but I am able to install the software but for some reason I am not able to view the printer under system preferences to add the printer. It is connected with the USB cord!!

    I just bought a new printer for my iMac version 10.7 Lion but I am able to install the software but for some reason I am not able to view the printer under system preferences to add the printer. It is connected with the USB cord!! It as if the printer does not show up in the add printer section under system prefernces!!

    I checked the manufacturer and apple site to see if my printer is supprted and it said it was!! I am using the HP officedeskjet 4500 G510a-f (HP Officejet 4500 Desktop)!! Still does not show up under add printers please help!!

  • I recently purchased a refurbed iMac with a 3.06 GHz Intel Core 2 Duo.  It came with iMovie ver. 9.0.5 installed.  I do allot with iMovie and iDVD and would like to get a camcorder to add movie clips.  Does anyone have any suggestions for a reasonably pri

    I recently purchased a refurbed iMac with a 3.06 GHz Intel Core 2 Duo.  It came with iMovie ver. 9.0.5 installed.  I do allot with iMovie and iDVD and would like to get a camcorder to add movie clips.  Does anyone have any suggestions for a reasonably price camcorder that would work with my setup?
    Thanks in advance for any suggestions.

    I recently purchased a refurbed iMac with a 3.06 GHz Intel Core 2 Duo.  It came with iMovie ver. 9.0.5 installed.  I do allot with iMovie and iDVD and would like to get a camcorder to add movie clips.  Does anyone have any suggestions for a reasonably price camcorder that would work with my setup?
    Thanks in advance for any suggestions.

  • The urgent notice to update to Firefox 5.0 for security reasons warned that"Incompatible Add-ons Found" and won't work until made compatible but how do I make them"compatible?"

    When I tried to respond to the urgent notice to update to Firefox 5.0 for security reasons I was stopped by a screen that said "Incompatible Add-ons Found" It identified two add-ons, Move Media Player 1.0.0.07103010 and Real Player Browser Record Plugin 14.0.3 that would be disabled. It said that "as soon as they are "made compatible" Firefox will update and re-enable these add-ons" It is not clear who is to make them compatile. I have no idea how to make them compatible and I don't even know what they are for. I don't want to lose any functionality as the result of an update, so what should I do?

    Make sure that your IP address is not being shared. See the note at the top of this page.
    Port forwarding problems
    There are some useful help pages here, for BT Broadband customers only, on my personal website.
    BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones.

  • When I add tunes from a CD into iTunes on myMacPro, shouldn't I be able to see them on my iPad and iPhone if I've got iCloud?  For some reason I thought the advertisement on TV said "add music here, and see it there.."  was that just photos?

    when I add tunes from a CD into iTunes on myMacPro, shouldn't I be able to see them on my iPad and iPhone if I've got iCloud? For some reason I thought the advertisement on TV said "add music here, and see it there.."  or was that just photos?

    Oh, wait -- also, you took about uploading CDs. I don't think *those* would automatically go to your other devices *until* you subscribe to iMatch or whatever that's called. You have to pay an extra $25 a year to get all your uploaded stuff in the cloud and therefore on your other devices. Anything you *purchase* from iTunes on one device would automatically be sent to the other devices.
    I did the Match thing, and it took a while at first to upload all the non-iTunes stuff, but then it worked. The whole thing is still new and has some kinks to work out.

  • How to add new tab after reason for rejection tab using tcode va01

    Hello,
    how to add new tab after reason for rejection tab using tcode va01.

    Hi,
    You can check this link...
    Hope it will be helpful to you.
    [https://forums.sdn.sap.com/click.jspa?searchID=23016273&messageID=6825861]
    [http://www.sapdevelopment.co.uk/enhance/fexits.htm]
    -Maharshi
    Edited by: Maharshi Vyas on Mar 3, 2009 12:45 PM

  • How add new tab after reason for rejection tab using tcode va01

    Hello,
           How to add new tab after Reason for Rejection tab using tranzaction code VA01.
    pls suggest solution.

    I don't think you can add a tab after reason for rejection tab. There are custom tab, which you can use for your convenient, given by SAP. You can look into the below details:
    Program : SAPMV45A
    Screen: 8459(Item) and 8309(Header).
    Kuntal.

  • I got a new iPhone 5 when I went to add my music back from the cloud Not on this iPhone Rihanna for some reason will not re load to my new phone the Little wheel just keeps moving

    I got a new iPhone 5 when I went to add my music back from the cloud Not on this iPhone Rihanna for some reason will not re load to my new phone the Little wheel just keeps moving nothing ever happens.  I turned it off and still nothing
    whats up with that I have one beatles song and one kenny chesney also

    Mate, I'm trying to find out if it was shipped like that or not. If someone else has had the same issue then I can go back to Apple and have them look into it further. If not then as I said Vodafone is selling second hand phones and they will have to replace the phone.
    Vodafone account manager is saying that he has never heard of anything like it.
    So I'm left with one of 3 answers.
    1: The phone was shipped like that so its a factory error.
    2: The Apple genius doesn’t know what he's talking about then I can go back to the store and ask for a second opinion.
    3: Vodafone is selling second hand phones as new.
    I need to narrow it down so I can deal with the account manager appropriately 

  • WMP dissapears from add-on's for -no reason-

    ok, I don't get this, I was literally watching something via windows media player on firefox, everything was perfectly fine, playing in good quality, had been doing so from the same site for weeks. I go to the next video, and, bam, suddenly firefox decided the WMP plugin doesn't exist.
    no update, no change, nothing, I have re-installed repeatedly -and- tried changing the proper section in the about:config that everyone keeps suggesting, and installing again. Nothing has restored it to proper use(I changed that section back to avoid forgetting about it). I dont understand why in heck firefox decided to just delete a plugin container for no reason, and why it will not read it again.
    I am using windows 7, and firefox 21.

    Ok, this confuses me. As to cor-el I have attemped every, single, fix, available. I tried the about:config, that didnt work, I tried putting the plugin to both plugin and brower/plugin, nothing there. I tried moving ti to an entirely different directory and hand-installing the DLL in the add-on's section, again, nothing.
    You know what fixed it?...I dont know but I sure would like to. Seriously, it just..started working again, I dont understand how or why, because all I did was shut off, and re-install the plugin or the 7th time in a row, and suddenly one time it worked and its worked since. I dont get it.
    anyway the problem is solved but this still doesnt make sense, is there a debug file or something I should sent to you guys as to the error so someone can figure out why the thing broke between videos, then started working again for no reason.

  • Ipod will not add certain tv epi for some reason!

    i bought this epi of monk, the pilot epi of season one, and it is in two parts. i bought both parts, but for some reason only part two shows up on my ipod....yet it is in my itunes and i can view it there and everything. is there some reason why it is not transferring onto my ipod????

    yes ty i tried this suggestion and posted in that forum and got it resolved! here is the link to it:
    http://discussions.apple.com/message.jspa?messageID=4153419
    in the end, i chose to sync all unwatched epis and the next thing i knew it showed up on my ipod!

  • Photos all resized to 320x240 pixels despite selecting "large"

    I have an issue with Apple Mail where all photos attached to an email (either by clicking "email" in iPhoto, or dragging the photo onto a new email message window) automatically resize to 320x240 pixels.
    Changing the "size" dropdown at the bottom of the compose window has no effect.
    The photos are of a large resolution before being attached to an email. For some reason this has only just started happening and was not happening 12 hours ago. I have not installed any new software or updated any software during this time.
    Any suggestions most appreciated!

    Hi Ernie - thanks for the reply.
    The image on the desktop, once exported, is the correct size (when opened in preview, it retains the correct size - the resolution is greater than the screen resolution).
    When this image is dropped into mail, it seems to automatically be resized to 320x240. Changing the "Image Size" dropdown has no affect on the image in the new message window or the resulting image when sent. The "Image Size" dropdown defaults to what was previously selected - I have tried leaving it on "Actual Size" but this does not make a difference.
    The odd thing is that the resulting image when sent has a different physical size (ie, it went from 80KB to 120KB) if sent using "Large" instead of "Small" but the pixel resolution remains at 320x240, so it is doing something with the image.
    I have tried multiple images and also confirmed that these images do not cause a similar issue on a different mac running a similar setup.
    Thanks!
    Tom

  • What is the difference between: "Place..." or "Add files for Upload..."?

    Where can I get information about the detailed differences between the commands "Place..." and "Add Files for Upload..." of the Files menu?
    Understand that in both cases the files are linked and not embedded. But what further differences are there?
    I came across this issue because widget 039 (Animated Image Rollovers) from MuseThemes works only if you use the "Add Files for Upload..." option.
    Thanks,
    Daniel

    Hi Daniel,
    There are a few differences in both the options-
    Place is used to add content to page (rendered) while Add Files for Upload... is used to upload files to your site but not on page (not rendered).
    Placed images are published to /images folder on the server while images added using Add Files for Upload... option are published to the /assets folder on the server.
    Placed images have a chance of getting renamed (if resized/interpolated in Muse) upon publish while images added using Add Files for Upload... retain their names.
    Place can be used to add limited file formats like jpg/png/psd/swf/oam etc while you can upload almost any type of file using Add Files for Upload...
    You don't see Placed content in the Hyperlinks dropdown for linking while files added using Add Files for Upload... show up in the Hyperlinks dropdown so that you may link to them and allow download.
    Both serve different purposes and Add Files for Upload... is preferred by Widget Developers because it gives more control over uploaded content and assurance that file location and name will be as expected.
    Hope the above give you clarity on the basic difference.
    Cheers,
    Vikas

  • This may sound stupid but for some reason I can no longer use the return button after typing in a url to go to that site. Does anyone know how to fix this?

    For some reason this stopped working on firefox a week or so ago. I have tried to uninstall and install firefox again but the problem still persists. I've tried both chrome and explorer and they don't seem to have this problem.
    I'd hate to stop using firefox but this so annoying that in less i can fix it, i'll have to change my browser!

    Hi larryhall,
    I'd try starting Firefox in [[Safe Mode]]. If you don't have the issue while all of your add-ons, extensions, and themes are disabled, you can try adding them back in one by one until you find the culprit. You should look at the [https://support.mozilla.org/en-US/kb/Troubleshooting-extensions-themes Extensions and Themes troubleshooting guide ] and the [[Troubleshooting plugins]] article as well.
    Hopefully this helps!

  • Firefox crashes for unknown reason lately, so I removed it and reinstalled it. How can I put my Favorites (bookmarks) back into the newly installed FireFox???

    Firefox crashes a few times when I was on Facebook and with email, also watching dramas online. Most of the time due to Adobe Flash and I did submit crash report. Later it crashes for unknown reason while I have email and Facebook on different tabs -- when I was on the tab of email, it looks system hang and not responding. This happened to my laptop that uses Windows Vista as I noticed. I don't remember it ever happens to my desktop that uses Windows XP.
    It's pretty annoying of such known crash, but before removing Firefox, I did try to update all add-ons or plugins and it looks like doesn't work out. After updating for couple times and it still crashed like that, I removed Firefox and reinstall it.
    '''Now I want to know how to put the shortcuts from my Favorite folder into the newly installed FireFox's bookmarks.''' I didn't backup the bookmarks by using Firefox. I even went to Firefox help for instructions, but it only mentions how to merge/input the bookmarks from other browsers. Please note the version I've removed and inrestalled is the same -- 3.6.13.

    It is possible that there is a problem with the files sessionstore.js and sessionstore.bak in the Firefox Profile Folder.
    Delete the sessionstore.js file and possible sessionstore-##.js files with a number and sessionstore.bak in the Firefox Profile Folder.
    *Help > Troubleshooting Information > Profile Directory: Open Containing Folder
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    Deleting sessionstore.js will cause App Tabs and Tab Groups and open and closed (undo) tabs to get lost, so you will have to create them again (make a note or bookmark them).
    *http://kb.mozillazine.org/Multiple_profile_files_created
    You can use this button to go to the Firefox profile folder:
    *Help > Troubleshooting Information > Profile Directory: Open Containing Folder

Maybe you are looking for

  • HP 8500A Plus A910G MarketSplash removal

    I have been using my 8500A for several months and in general I like it except for the excessive wait time after pressing the Power On button to ready to print.  It is used on a wireless network and works fine. This morning I upgraded the firmware to

  • Purchasing external monitor for macbook

    I am interested in purchasing an external monitor for my white 2.2 gig macbook. I would appreciate any suggestions or ideas including estimated prices. Thank you.

  • Essbase Studio data load problem

    please excuse me ... this problem is related to the below thread: Does essbase studio support Parent/Child build method Thanks, Praveen Edited by: user8627339 on Dec 22, 2010 10:27 PM

  • Upload web site

    I start devoloping a site in my PowerBook using Iweb; the site was published and all worked fine. But now, that I need to upload the site to my G5 to keep working in it, I am out of luck. Probably the designers didn't thought that uploading is a must

  • HT1338 Why is iPhoto not showing my pictures?

    It just shows grey boxes. I already tried checking for software updates and it says there are no new ones