I want to create a PictureScrollField using some images in Blackberry.By default it is displayed on the top of the screen with the given width and height.
But if we want to display the entire one at certain coordinates say(x,y),then how to align them.
add the picture scroll field in a horizontal field manager and align the manager
Related
I have my highscore, when it changes it moves to the left, but i need to move it to the right.
How i could achieve that?
Here is problem in imgur picture
I'm using canvas with TextMesPro Text and icon as image
TextMesPro
Put the text and the icon inside a HorizontalLayoutGroup and add a LayoutElement to both. Set the HorizontalLayoutGroup to control child height/width, child force expand width/height. Set the flexible width to the text (in the LayoutElement) to a very high value. Set the preferred size of the image to the size you want the icon to be. You might also want to add a little bit of spacing to the layout group.
I'm using a JSSOR slider that scrolls content horizontally. My issue is that the slide content is dynamic. An admin has the ability to add and remove images & text from the slider, however not all the divs are the same width. This creates gaps and/or overlapping.
I can create a code to get the width of each slide prior to the initialization of jssor, however I'm wondering if there's a way to apply $SlideWidth to individual slides by index?
Thanks.
I have placed buttons inside a horizontal box inside a window. Now I want this box to be on the top of the window with the smallest possible height. The rest of the window is drawing area for an image display that changes height with the window. How?
I solved it using a table with the following for the first and second row
gtk_table_attach(GTK_TABLE(table),toolbar,0,1,0,1
,GtkAttachOptions((guint)GTK_FILL|(guint)GTK_EXPAND)
,GTK_SHRINK,0,0);
gtk_table_attach(GTK_TABLE(table),test,0,1,1,2
,GtkAttachOptions((guint)GTK_FILL|(guint)GTK_EXPAND)
,GtkAttachOptions((guint)GTK_FILL|(guint)GTK_EXPAND),0,0);
I want see the items of list box on scroll, On ZK site I found only way to do it is set height in Pixels or set the rows property to specific number of rows. but I want to set it according to the screen size is there any way to do so.
Try to use the BorderLayout to lay your components. Add your list to the center and it will display a scroll bar. Read about layouts (size, vflex etc.) first because they can be really tricky.
And read this also
All the screens I've designed for BlackBerry so far I set the position coordinates statically, without the need of a vertical scroll.
I do not understand how to use this vertical manager to scroll and see the list.
We have to create vertical field manager as follow
VerticalFieldManager manager=
new VerticalFieldManager(
Manager.VERTICAL_SCROLL |
Manager.VERTICAL_SCROLLBAR );
to scroll fields in vertical field manager.
The following link will also help you.
How to set a ScrollBar to the VerticalFieldManager in Blackberry?