ListField line height not uniform between different devices
Hi I have a little problem with my custom listfield, I tried through different simulators and it works great on the storm, 8520 but on the 8900 and 9700, I get the lines overlap as in the picture. I use setRowHeight during the creation of the list, I also tried to change the values (numbers just to try to put) and on these devices does nothing... anyone has idea what it could be?
Thank you
Thanks man, you have been very kind. I solved this problem by myself, it was a problem with my custom implementation. position can be deleted.thanks
Tags: BlackBerry Developers
Similar Questions
-
IMessage does not sync between all devices
My ipad/Mac will not sync with my iphone imessage. Until I reinstalled my Mac wasn't a problem. If I type a message to someone in imessage from my Mac or my iPad, it does not display in my iphone vice versa.
imessages from my iphone will not only do not appear in the other two devices, but the response I get will not pass to the device, sure I typed the message. Even the opposite effect. Messages and responses to Mac/iPad won't go on my iPhone imessage.
Should what setting I change to get everthing again between all devices sync?
Have you checked that you have activated the same send to and receive to address on all devices.
-
PersistentStore is not persistent between the device restart
Hello
I use the PersistentStore to store a hash table with an integer simple mapping custom of POJO. It seems to work between the restarts the application, IE, I can totally my application and restart and persistent data are restored. However, after a reboot of the appliance, such as pulling on the battery, the data are there not more and everything is reset to 0 by default. Same thing happens on the Simulator.
I certainly call the commit() every time I change the contents of the table of hash and that in a thread safe way. Nothing appears in the journal of the events, or all exceptions...
It's with OS 4.6.0 and in this case a "BOLD".
One with ideas or similar issues that I could hurt?
Thank you.
Daniel
Right, I found the problem: all the objects you want to persist must implement the Persistable interface. Too bad there is no word about it in the JavaDoc of PersistentStore and PersistentObject and too unfortunate that PersistentObject.setContent () takes an object as a parameter instead of an instance of a Persistable implementation. That probably has to do with the fact that the implementation allows implicit persistables objects as the Java object representatives for more than native data types Hashtable and vector.
-
Tree with itemRenderer can have variable line heights (not string data)?
Is it possible to create a tree that use itemRenderer for the variable row height?
In my itemRenderer, I create a HBox for each line.
For some lines, I want to show VBox with several objects like ComboBoxes as his children.
The VBox overlaps the next line.
You need to change the Measure [] method to accurately measure your component.
Alex Harui
Flex SDK Developer
Adobe Systems Inc..
-
Hello.
I have 3 devices. 2 of them are at work, so I don't want to sync items such as extensions (xnotifier, for example, is to synchronize my CPA), passwords for my PC at home with these two devices. But I want to synchronize my bookmarks and other things. Is it possible to separate between different devices sync settings?
Thank you.
You may need to use two separate sync accounts, if this is not possible with a single account.
As you cannot use both accounts at the same time on a device, you will need to disconnect the computer which is the main device and (temporarily) connect to another account only synchronize to the other account to sync bookmarks. -
AirDrop does not work between Mac mini end of 2014 and 6 s iPhone more
Hello!
I'm here for the first time. A little more last year, I bought a Mac mini end of 2014 with Core i5 clocked at 2.6 GHz, 8 GB RAM and 5400 RPM HARD drive. I replaced the HDD for an SSD, Samsung EVO 850 250 GB, to be correct. I also have an iPhone 6 Plus and does not AirDrop between my devices. They discover each other. Update both OS X and iOS on a regular basis, so that's not the problem. Check on this issue and finding a solution a have met this Airdrop is not my Mac mini 2012 and I have a few questions:
I checked that TRIM Enabler Coulon, but later on my Mac I searched this Samsung EVO can't GARNISH. What it means? Download and install TRIM Enabler would be unnecessary, because the problem isn't here? Everything is fine with the Bluetooth, WiFi, my 6s more connects to the other MacBook Pro Retina early 2015, as the new MacBook 12 "iPads and iPhones, too. Please help me, thank you in advance.
10.10.4 and later Apple does not allow that you caraa select TRIM and third part SSD. See:
http://osxdaily.com/2015/10/29/use-trimforce-trim-SSD-Mac-OS-x/
Can yo test to see if AirDrop works among other devices?
like the iPhone with another device iOS or Mac or Mac with another Mac or iOS device?
-
Digital fixed but different line height value
Hello world
On my front, I have a table (column) 1 d of numerical values next to a table (column) 1 d of channels. I need them to the line upward. I think that the height of figures is not editable, but for strings, you can change it.
Here's my problem, on different PCs, I found that the heights of digital line have different fixed values. On my development PC (LabVIEW 2011, 32-bit), the line height is 22 pixels. On all the other test PCs (also LabVIEW 2011, 32 bit) the line height is 20 pixels. I need the berries to align all PC, but it looks different.
Does anyone have any suggestions on how I can fix this?
The height of controls digital and indicators are based on the font used for this. The strings have their height adjustable independendtly.
On these different PC, are you using different operating systems?
See this thread and a few others.
What you need to do is set the font for the strings and numeric values to be a specific font which is present on all operating systems and do not use 'system' or 'application' font that is based on the current settings of the operating system
-
How can I get the lines for the date between 2 different days
Hi all,
How can I get the lines for the date between 2 different days.
Sample data:
Table name: Articles
Title start_date end_date
Heading1 08-22-2011 2011-09-11
2011-08-01-2011-09-01 Title2
Title 3 2011-08-21 08-21-2011
title4 2011-08-28 2011-09-11
Result will be:
Title start_date end_date
Heading1 08-22-2011 2011-09-11
2011-08-01-2011-09-01 Title2
title4 2011-08-28 2011-09-11
This is my example query:
SELECT * FROM items WHERE trunc (es.date_start) > = TO_DATE('2011-08-22', 'YYYY-MM-DD') AND trunc (es.date_end) < = TO_DATE ('2011-08-28', 'YYYY-MM-DD')
but I can not get the expected results. Any help would be much appreciated.
Thanks in advancenot read your question properly before...
Please try this
Select * FROM items
WHERE (TO_DATE ('2011-08-22', 'YYYY-MM-DD') between TRUNC (es.date_start))
AND TRUNC (es.date_end)) OR
(TO_DATE ('2011-08-28', 'YYYY-MM-DD') between TRUNC (es.date_start))
AND TRUNC (es.date_end)) -
contacts do not sync between devices
contacts do not sync between devices - advice? This has happened a couple of weeks, don't see why
Try the settings/iCloud and remove the synchronization. Wait a few minutes and then resynchronize.
Try to go into System Preferences/iCloud and stop synchronization. Wait a few minutes, then recheck the timing.
Have you tried the signature to iCloud and then reconnect?
-
Line does not come after each row of the list
Hello
I show a list in my current application. In the list, I paint a line after each line. Just a line of string, I add in each line. Now when I'm checking the list, on some devices, lines are coming. As in Bold 9790, after each line, a line is added. But in the Torch 9810 and curved 9320, line is not there. I don't get why this different behavior for different devices.
Can someone please help.
Here is my code:
public class ListCallBack implements ListFieldCallback{ public void drawListRow(ListField listField, Graphics graphics, int index, int y, int width) { String text = "xxxxxxx"; graphics.setFont(FONT_FAMILY_1_SF_AS_08); graphics.drawText(text, 10, y, DrawStyle.ELLIPSIS, width); if (index != 0) { graphics.setColor(Color.BLACK); graphics.drawLine(0, y-12, width, y-12); } } public Object get(ListField listField, int index) { // TODO Auto-generated method stub return mAccounts[index]; } public int getPreferredWidth(ListField listField) { // TODO Auto-generated method stub return screenWidth; } public int getPreferredHeight() { return getContentHeight(); } public int indexOfList(ListField listField, String prefix, int start) { // TODO Auto-generated method stub return listField.getSelectedIndex(); } } }
Thank you...
The best result I wanted to say, variable height from station to station. So currently I use the line height and made changes accordingly.
Here is my Code:
Font f = FONT_FAMILY_1_SF_AS_08; graphics.setFont(f); int h = f.getHeight(); int height = (listField.getRowHeight() - h)/2 ; y += height; graphics.drawText(text, 10, y, DrawStyle.ELLIPSIS, width); if (index != 0) { graphics.setColor(Color.BLACK); graphics.drawLine(0, y - height + 1 , width, y - height + 1); }
It worked properly. Thanks a lot Peter and Simon.
-
TableView DataTemplate curious behavior of line height
I noticed a problem of calculation of the HEIGHT of the LINE of the rows of the Table in a TableView.
as a first step, I put TemplateRowProperties (40, PIXEL_HEIGHT).
tested with some lines and it worked.
But if there are more lines height becomes higher as more lines are there.
has then tried to replace PERCENTAGE_HEIGHT and the value 10, so I expected that each line should get 10% of the display height.
but the behavior even if there are more lines.
Finally I'm done with this workaround: (not perfect, but in my case there are between 2 and 50 ranks works)
dataTemplate.useFixedHeight(true); // Define regions and row height for (int i = 0; i < ROW_COUNT; i++) { dataTemplate.setRowProperties(i, new TemplateRowProperties( Math.max(1, MathUtilities.round(50/ROW_COUNT)), TemplateRowProperties.PERCENTAGE_HEIGHT)); }
is this a known bug? or I did something wrong?
tried to useFixedHeight the value false, but then the height was too small.
It's a simple table with 3 columns. Column width properties work as expected.
int[]columnWidthPercent = new int[]{10,25,65}; for(int col = 0; col < COL_COUNT; col++) { dataTemplate.createRegion(new XYRect(col,0,1,1)); dataTemplate.setPosition(col,0,14); dataTemplate.setColumnProperties( col, new TemplateColumnProperties( columnWidthPercent[col], TemplateColumnProperties.PERCENTAGE_WIDTH)); }
THX
We have problems with our login server Thursday, which have been resolved.
Thanks for the taping of the show. Someone should look into it soon.
-
Adobe Clip project not sync between my iPhone 6 Plus and my iPad Pro
I have prepared a short project Adobe Clip on my iPhone 6s longer. He played back well on the iPhone 6 Plus. I then went to my iPad Pro, open Adobe Clip and expected from this project appears in Adobe video on iPad Pro. It didn't, and after hours leave Xenon Adobe Clip the iPad Pro (not only running in the background), I see a synchronization icon (rotation). When I click on this icon, it says "download media...". 100%. No matter how long I leave Adobe Clip open on iPad Pro, I still see the rotating synchronization icon and never see the project appear in Adobe video on iPad Pro. I have an active account of creative cloud. My old projects don't appear on the RPI Pro in clip Adobe just this last project. Anyone have any suggestions to solve this problem of synchronization, the Clip from Adobe is to have between these two devices?
Thank you in advance for answering.
Tom
Hi Tom,
Sorry for the trouble.
Can you confirm your using the latest version of the (2.0.2) Clip?
Here are a few things to try. Please let us know if any of these options helped or not.
1. launch first music video on the iPad Pro and make sure it is not open on other devices. Let the synchronization of the device completely before background processing application or opening/reading projects.
2 log on to the account current CC, close the clamp and restart and reconnect. Once again, making sure to leave all projects to download.
3 remove the Clip on the iPad Pro, then re - install and login to leave remaining projects sync.
Hope one of these tips to solve your problem. If this isn't the case, we can go down a different road.
Thank you
Peter Garaway
-
vMotion between different processors
On my last job, I had two clusters vmware, using four hosts with HP DL580 servers and the other with two hosts in a HP BLADE system, I don't remember the model.
So when I tried to move an active VM for clusters to each other, I got an error, so I'm looking here on community and I got the awnser is the reason the hosts had different processors and I can only move this virtual machine, if they are closed. If I can only move cold VM between my cluster.
OK im on a new company name and they had M$ Hyper-V and now we are migrating to VMWARE (cool ) we have two DELL Poweredge servers, one with two Quad-Core Xeon X 5470 and the other with two Xeon Quad - Core E5320.
So I guess I'm having a problem of fact a vmotion hot between it because the servers have different processors.
So im buying new processors, but I find only Xeon Quad-Core X 5365, I think that it corresponds to that of the X 5470 but with cache and diferrent clock.
My ask is, can I do a hot Vmotion with some VM of a Xeon X 5470 server on a Xeon X 5365 server.
Stability of Slackware, safety and simplicity are the best choice!
Yes,
the vmotion VMs between different generations of cpu is only posible to put these hosts using Enhanced VMotion (CVS).
Improved compatibility for VMotion (EVC) simplifies VMotion compatibility issues
through the generations of CPU. EVC automatically configures the server with Intel CPU
FlexMigration or AMD - V extended Migration technologies
compatible with the old servers. After EVC is enabled for a cluster in the
VirtualCenter inventory, all hosts in this cluster are configured to
present identical CPU features and compatibility for VMotion CPU. The
features introduced by each host are determined by selecting a predefined EVC
base line. VirtualCenter does not allow the addition of hosts that cannot be
automatically configured to be compatible with EVC baseline.
To use CVS, you must run ESX Server 3.5 Update 2 or
highest with Virtual Center 2.5 Update 2 or higher and have only compatible CPUs
are listed in one of the following tables.
CVS does not allow for migration with VMotion between Intel and AMD processors.*
VCA makes it much
easier to add servers with the new generation of processors in existing clusters
containing a material more former generation. Entering an EVC cluster servers are
automatically configured to be compatible with the hosts already in the
clusters. Since this process is automatic, EVC is very simple to use and
requires no expertise on CPU features and masks.
Suresh
-
Apex 4: The button "Add a line" does not not in tabular form
Hello
The APEX 4, I created one in form of a table and the button "Add a line" does not work. 'Add Row' button is automatically created in the region and I have not modified anything.
On Mozilla Firefox, clicking the button does nothing and on IE, it shows the javascript below error:
Message: 'length' is null or not an object
Line: 1
Tank: 61979
Code: 0
URI: http://localhost:8080/i/javascript/apex_4_0.js
The code for the button 'Add Row' is:
"< class td 't10L' = >< img src="/i/themes/theme_10/button_left.gif "alt =" "width ="4"height ="24"/ >< table >"
< class td "t10C" = >Add a line< table >
"< class td ="t10R">< img src="/i/themes/theme_10/button_right.gif "width ="4"height ="24"alt =" "/ >< table >"
Could I have done something wrong, or is at - it a bug?
The other buttons and features works fine on the same on the
Thank you
HozyHello
First, create a different theme.
Press to create the button and select from the repository. Then follow the wizard.
Then change the theme to one that you just createdhttp://download.Oracle.com/docs/CD/E17556_01/doc/user.40/e15517/themes.htm#sthref1765
BR, Jari
-
Any body know:
What units of measurement areas of line and the height in the properties toolbar works in? I put a line height of 99, but the ruler line to be a little more 40pixels, no idea why this discrepancy?
Also, I could reduce the height of 99 to 1 if I wanted, but the line on screen never reduced to less than 19 or 20 pixels in height (according to the rule), this is also true when displayed in a browser. Any thoughts why this could be would also be greatly appreciated.
Thank you, a mind taxed(_seb_) wrote:
> Taxed spirit wrote:
> Interesting point Murray, thank you for this comment.
>>
> When I hear doom and gloom phrases like: "paintings like to collapse."
' > around their content ", it me (a beginner) still affects concern.
>>
> If something like that were to happen you can tell pretty much when it
> happens. I want to say for example, if I'm doing a site and download it, then
> check and it is ok that's it, or some people might see it
> collapsed while I can see that, or she is reduced for everyone
> at an unknown time in the future.
>>
> Thank you in advance for your help.
>>
>
> If you do not give any height to your line, it will probably look at the
> even in all browsers.
> Giving a height of a table row is not valid html and will be ignored by
> most of the browsers (actually it will be ignored by all modern browsers,
(> as long as you have a valid doctype on your page).
>
> is surprising, but true, the table width and height very treated web
> differently, especially regarding width, but without taking account of the height. Never
> giving height to tables and table cells is the best practice.
>
> In other words, when it comes to height, think that: "the content will be.
' > determine the height of a container, not the height attribute.
> Still in other words, do not try to create a blank layout. build a page layout
> WITH content that will go into it and it will tell you how your
> layout will naturally stretch to accommodate the content.
>more information:
IF you really want to force a table cell to have a minimum height, use either a gif "spacer" (as
Murray suggested), which is a transparent image that you place in one of the cells of a row, and
force the line to the height that you give to the image.
In general:
a text
The gif of 250 height force the line to be at least 250 px high.
Another way to achieve the same thing would be to place a div (rather than an image) in the cell, and
set the height of the div with css:Because (something surprising), while the height of the table and cells is ignored, the height divs is NOT.
Note that the div must contain something (where the).--
SEB ([email protected])
http://webtrans1.com | high-end web design
Downloads: Slideshow, browser directory, mailing list
Maybe you are looking for
-
What happens if Im not on Fb or Twitter but I have a G + is this correct?
-
How can I fix the very slow response after the wake up the computer from sleep mode?
Never had this problem until a few days ago. Using Windows 7. I want to use the "sleep mode" whenever I leave my office (be it for a few minutes or several hours). Always came back just as I left it (tabs, work-in-progress, etc.) until recently. If I
-
I am running Firefox 16.0.2 Windows XP. Whenever I open Firefox, I have to click on view / toolbars... to restore my bookmarks toolbar. Also, I have repeatedly customized my toolbar, move the 'Home Page' icon and the 'Refresh' icon to the left and ad
-
When I start my laptop, I get a windows with "RUNDLL" error message in the title of the box and it says "error loading C:\WINDOWS\Downloaded program Files\bridge.dll can not specified Module"-what this means and how do I get rid of him? I tried to re
-
System API for Configuration management configuration
Hi all I've been playing around with the API system configuration for now a bit and I see it as a great way for companies to use as part of a management of global configuration utility. For example, if a customer wishes to put in place a new rack tes