Can't lose ListField VerticalScrollBar on 8230 only?
I have a ListField, who always shows a scroll bar on the simulator of 8230. I build using the library of 4.6 in Eclipse. It works fine on any other Simulator.
The issue is the screen 8230 is so narrow (240) I need to each pixel of data. I have disabled in the scroll area manager, who has worked on other devices. The scroll bar takes the last 30px.
It is the only area in my MainManager which is defined as:
public LogScreen() { super(Manager.NO_VERTICAL_SCROLL | Manager.NO_VERTICAL_SCROLLBAR | Manager.USE_ALL_WIDTH | Manager.USE_ALL_HEIGHT); ... logList = new ListField()
I calculate the positioning of the last text column in the ListfieldCallback as:
listWidth = Display.getWidth(); g.drawText(text[4], (int)(listWidth-5-_font.getAdvance(text[4])), y, 0, w);
Any ideas?
Unfortunately, there is no getBounds in 4.6 API. But I think I understand it anyway.
It has something to do _font.getDefault () do not have enough information to _font.getAdvance work correctly in 4.6 - on this phone. It worked very well in 5.0.
I solved by being more specific and in generating the police completely and affecting him. GetAdvance now works as expected.
FontFamily ff; try { ff = FontFamily.forName("BBAlpha Sans"); _fontLog = ff.getFont(FontFamily.SCALABLE_FONT, StopwatchApplication.fontSizeLog, Ui.UNITS_px).derive(Font.PLAIN); setFont(_fontLog); } catch (ClassNotFoundException e) { // TODO Auto-generated catch block e.printStackTrace(); }
Tags: BlackBerry Developers
Similar Questions
-
What capabilities that I lose in JDeveloper by using only no ADF?
What capabilities that I lose in JDeveloper by using only no ADF?Do you mean everytime I bind, for example, a command button JSF to a JSP page using drag-and-drop features who will code the ADF on my project.
Lol you can always drag elements from the palette of JSF components in your JSF Visual editor - it doesn't use ADF.
What I wanted, it was doing drag the control data from the data control palette and dropping them on the JSF page - what is binding of ADF.ADF BC offers a lot of out of the box to work with the database feature. Things like master-detail, synchronization, LOVs, calculated fields, query components etc.
However if you want to use pure Java EE you can use JPA/EJB position. -
You are in Mauritius, and you Maurice as a country on your account? Otherwise: change your iTunes Store country or region - Apple Support
-
A Mac mini, purchased in the UNITED Arab Emirates can be used in the USA with only change the power cord?
Yes.
http://www.Apple.com/Mac-mini/specs/
the voltage may vary from 100-240 V AC.
-
How can I convert an incoming call read only an attachment so I can change it?
How can I convert an incoming call reads only attachment so that I can change it? Save in Word does not it, and find research peut t.
So, the problem seems to be that attachments are stored as files read-only by Thunderbird and an application it can open without editing privileges, so you cannot change the. Read-only mode was chosen because these files are kept in a temporary location. For example, if you modify and save the back, they are deleted when Thunderbird is closed, so losing your changes. The idea is to force to save you to a different location. You should be able to do it, then open it from that location with full editing capabilities.
For a permanent change in this behavior, go in the [tools >] Options > advanced > general tab and click on Config Editor there. After you confirm the warning, copy - paste browser.helperApps.deleteTempFileOnExit into the search bar and switch false to true by double clicking on it. Now, saved attachments are created with read/write permissions, but is more removed when Thunderbird is closed (i.e., stored in % AppData%\Local\Temp).
-
Firefox has been great to work on my computer for months and then suddenly he could not load pages. So, naturally, I restarted my computer, but when it restarted Firefox does not open. The icon lights for a bit as usual, then it fades and never actually opens. When I try to use the "run" command, I get this error:
"C:\Program Files\Mozilla Firefox\ refers to a location that is unavailable. It could be on a hard drive on this computer or on a network. Make sure that the disc is inserted correctly, or that you are connected to the Internet or your network, and then try again. If it can't be located, the information may have been moved to another location. »
I also tried the same thing for the file in the x 86 folder, but it gave the same error and I went and looked for the files in the given location and they were there.
Firefox is not to fall down, so he isn't there an other error message, I can give you.
The things that I had my favorites are really important, I can not lose those, but I am fine with anything else have to re-installed, etc..
Help please?I've never tried it myself, but the forum has a series of measures for a "clean reinstall" Firefox. Even if you do not delete the record of your personal settings (AKA profile) during this process, a backup of this folder is always a good idea in case something goes wrong.
Some Firefox problems can be solved by performing a clean reinstall. This means that you remove Firefox program files, and then reinstall Firefox. Please follow these steps:
Note: You can print these steps or consult them in another browser.
- Download the latest version of Firefox from http://www.mozilla.org office and save the installer to your computer.
- Once the download is complete, close all Firefox Windows (click on quit in the file menu or Firefox).
- Remove the Firefox installation folder, which is located in one of these locations, by default:
- Windows:
- C:\Program Files\Mozilla Firefox
- C:\Program Files (x 86) \Mozilla Firefox
- Mac: Delete Firefox in the Applications folder.
- Linux: If you have installed Firefox with the distribution-based package manager, you must use the same way to uninstall: see Install Firefox on Linux. If you have downloaded and installed the binary package from the Firefox download page, simply remove the folder firefox in your home directory.
- Windows:
- Now, go ahead and reinstall Firefox:
- Double-click on the downloaded Setup file and go through the steps in the installation wizard.
- Once the wizard is completed, click to open Firefox directly after clicking the Finish button.
Please report back to see if this helped you!
-
I don't update or download anything, so today, I can't see any video like youtube, vimeo, facebook even site. My flash player is installed and it is a job because I still can see the video in Internet Explorer only on Firefox it audio only not work, the video is all blank (black).
When I restart my PC again the video can work just first video, then when I see another video site it's all black... (but its still working)
can someone help me?Hi splingun,
We have a section of fixing Facebook and YouTube. The black screen seems expressly included in the list of the articles I linked to you.
Hope this helps!
-
the new firefox open my home page in addition to the start page of firefox, everytime I open firefox. How can I stop this and make sure ONLY my home page shows?
Delete the USER. JS file if there is (some plug-ins create in addition to prefs.js).
-
How can I change the username itself, not only the password.
Hello
How can I change the username itself, not only the password please?
Cheers, Guy.
Are you referring to the username and the password of the user interface? If this is the case, you cannot change the user name because there is no option for you to change.
-
I can't play a DVD region 1 only region 4 on Qosmio X 500
Hi all
How can I get around that I can't play a DVD region 1 only region 4?
Concerning
Hello
You can change the time to code four or five region.
After that, the region settings are locked and cannot be unlocked.You can change it here:
My computer-> drive CD / DVD-> properties-> Hardware tab select the CD Player / DVD-> properties-> DVD region tabWelcome them
-
can someone give me links to download only setup.exe and autorun.exe to the tribes of heroes 5 of the game is that mine are corrupted and I can't download the whole game again?
This is the incorrect forum for your question.
Try using Bing or Google, like this
http://www.bing.com/search?q=Heroes+5+tribes+of+the+East&form=OSDSRC
-
I bought CS5 Web Premium several years, but do not have Acrobat installed (all other programs are there). Is Acrobat included in CS5 and if so, can I download and install this program ONLY if I still have my serial numbers of my purchase? Thank you!
Hi john % 20brennan 20iv %,.
Yes, Acrobat 9 is included in CS 5 web premium see, Adobe Creative Suite 5 Web Premium release notes
You can download the installer from here: Download Adobe Creative Suite 5 products
When you run the installer it will give the list of the included apps you can just select Acrobat and install it.
For more information on How to download, install and activate Adobe applications
Let us know if that helps.
-
How can I purchase a license for Photoshop only? I need a month or a one year membership, I want to have a product that I can use as many years I need. PS I am a student so that I can get a discount with such condition? Thanks in advance for the answers.
Sorry to disappoint you but Photoshop is no longer available to purchase outright, to instead rent you it for as long as you need. Research on the good side, if you were able to buy Photoshop it would cost $1000 as was the retail price of the latest version to be sold directly to customers. You can get Photoshop for $10 per month now, which is certainly better than paying $1000 for it?
Terri
-
I am wanting to know if I can try the free trial again. Only, I was able to put into practice once a month I got the trial. Thank you
Unfortunately, the trials may not be extended.
Please see: software Adobe to trial has expired at the beginning
-
Hello, we want to know if we can change our creative cloud for the only diet plan (for Adobe Photoshop and Illustrator, only), because when we read it, we but that we can only take one of them. Thanks in advance.
Yes, you can change your plan.
Also, IF the change is not possible, you can cancel and buy again.
Please contact support by calling/chat for cancellation requests and billing queries:
* Be sure to stay connected with your Adobe ID before accessing the link above *.
You can also check the help below document:
https://helpx.Adobe.com/x-productkb/policy-pricing/cancel-membership-subscription.html
Please go through the Adobe - General conditions of subscription as well.
Maybe you are looking for
-
How to remove a toolbar that I don't like
People, I stupidly installed "downloadfalshplayer community toolbar. It is not good. But I don't know how to uninstall it. Please, anyone?
-
My contacts are gone after changing computers
Hello, I have changed my PC and my contacts passed. Is not everything. In the past I had this problem and resolved the oniline support help, but now I can't find a way to contact online support. -J' I need my contacts, advice what I should do?
-
NB500 - connectivity of draft N Wireless
Two days ago, I bought a Toshiba nb500 netbook for my wife. An interesting feature, I found was built in wireless n I have a linksys WRT300N that comminicates perfectly at 150 Mbps or up to 270 Mbps with a variety of desktop and laptop computers acco
-
HP G62-340US: it will be useful to upgrade my CPU?
I recently bought 8 GB of RAM and an SSD of high quality for my 6 year old HP G62-340US, but the computer feels not as fast it should with these updates. I have an AMD 2.2 Ghz processor, but the CPU still seems to be maxing out, even at startup. This
-
Lenovo 3000 Y410 enable 'Intel VT' support in the Bios (hardware virtualization)