Questions tagged [labelfield]

33 questions
5
votes
1 answer

How to scroll Horizontally in labelField in Blackberry

I want to scroll Horizontally in label Field. I am adding this LabelField in Custom GridField Manager. Here is the code of Custom GridField Manager. public class CustomGridFieldManager extends Manager { private int[] columnWidths; private int…
Riddhi Barbhaya
  • 1,205
  • 1
  • 11
  • 19
4
votes
3 answers

How to display data in Label from data store in Sencha Touch

I want to display data that i receive from a data store. One way that i have tried, is to take a text field make it disabled and then set its value with store data. But i don't think it is the correct solution so i am trying to use label instead…
mehul9595
  • 1,925
  • 7
  • 32
  • 55
4
votes
1 answer

word wrapping is not working in BB with custom GridField Manager

I am using Custom GridField Manager to display Details in 2 columns, with specified width. When Value of right side is too big then value is not wrapping to next line. Here is my class of Custom GridField Manager. public class…
Riddhi Barbhaya
  • 1,205
  • 1
  • 11
  • 19
3
votes
1 answer

How to remove white color around Labelfield in Blackberry

I am developing a blackberry app and I am new to Blackberry. I am using Label Field in every screens, but there is a color surrounding the LabelField other than the background I have given for the screen like the image I have given here.. This is a…
Aju
  • 4,597
  • 7
  • 35
  • 58
3
votes
1 answer

How to display text in multiline using customized label field in Blackberry?

How to display text in multi-line using customized label field in Blackberry? When I use following code, I can display the label with desired font size, however the problem is when the extent is limited in width the text gets cut off and not…
Ritesh Gune
  • 16,629
  • 6
  • 44
  • 72
3
votes
2 answers

Text is not coming properly with Custom LabelField in Blackberry

I am implementing Custom LabelField in my app. It is working fine with small fonts, when I increase the font size it will not show properly. Here you can see it in this image. You can see in the image it is showing only the half of the text. How…
Aju
  • 4,597
  • 7
  • 35
  • 58
2
votes
1 answer

Possible to have more then one labelField in Flex?

I have a combo box that is currently getting its information from a database this seems to be working fine. Now I would like to have content from two fields displaying in the combo box at once. Say First Name & Last Name I've added the information…
Adam
  • 2,632
  • 8
  • 34
  • 60
2
votes
2 answers

TextField horizontal-scrolling

Hi i have implemented scrolling text horizontally through this link LabelField Marquee. But i have one problem,the text is scrolling quite good but its been over-written on the original text which was added.Can anyone have any idea how to cope from…
AkashG
  • 7,868
  • 3
  • 28
  • 43
2
votes
1 answer

How i scroll multiple label Fields in blackberry 4.5

Hi friend's i want to show couple of data in blackberry screen through use of multiple label Field .But when i use multiple label field it's not scroll vertically and horizontally so please help me to solve this problem. Here is my code public…
1
vote
3 answers

how to calculate Labelfield and HorizontalFieldmanager height in blackberry

I have HorizontalFieldManager,VerticalFieldManager and LabelField. LabelField placed in HorizontalFieldManager and multiple HorizontalFieldManager are placed in VerticalFieldManager. When i try to get LabelField height using labelfield.getHeight();…
Hitarth
  • 1,950
  • 3
  • 27
  • 52
1
vote
2 answers

BlackBerry vertically center LabelField with custom height

I have a LabelField nested within a TableLayoutManager row. I want the row to be a specific height (the same height as its bitmap background). In order to achieve this, I changed the layout() method of the nested LabelField: LabelField lblHours =…
littleK
  • 19,521
  • 30
  • 128
  • 188
1
vote
1 answer

Is it possible to strikethrough text in a LabelField?

I've been able to style a LabelField with bold, underlined and italic text, but I have yet to find a way to specify strikethrough text. I haven't been able to find any documentation that it's supported or any other examples where it's implemented.…
1
vote
2 answers

newline doesn't work in LabelField

I'm very confused. I've created a global variable: public LabelField title2 = new LabelField("", LabelField.ELLIPSIS | DrawStyle.HCENTER| LabelField.USE_ALL_WIDTH | Field.FIELD_VCENTER |…
Alexey
  • 17
  • 3
1
vote
1 answer

Increase label font in tableView blackberry

I'm trying to increase font in a label inserted in tableView but nothing of the following code works, it's been like we can only affect the text or the background color of the Label. This is how I fill my tableView, I used 4 different way for every…
sazz
  • 3,193
  • 3
  • 23
  • 33
1
vote
2 answers

Given two label fields inside an HorizontalFieldManager, how should I do to display the full text from second label without wrapping it?

I have an HorizontalFieldManager with two labels inside. The left label shows a description, and the right one shows a money amount. For me, it's more important to show the full text of the second label. Problem is that if the first label is too…
Lucas
  • 1,239
  • 4
  • 15
  • 26
1
2 3