How can I add a vertical scroll to the list in Brightscript? - video-player

I am trying to customize the video player example that comes with the SDK. I am displaying the videoplayer on the left side of the screen and the playlist on the right side with the navigation through this playlist.
However I am able to display only few videos on the rightside. Hence I need to add scroll to the playlist so that I can display all the videos there.
I have reserched on it and found the rotextscreen that provides scroll but that opens a whole new screen which doesnot serve my purpose as I want to show the playlsit on tthe right side of the player more like you tube.
I cannot use Rogridscreen for the same reason as rotextscreen.
Is there any other component i can use to display the playlist and add the vertical scroll to the playlist or any other approach I can take??
I am a bit lost at the moment. Any suggestions would be really appreciated.

Have a look at roListScreen, a scrollable list will be on the left

Related

How to move list item given source index and destination index with animation in flutter

I am building a leaderboard screen in the flutter application, whenever the user comes to the leaderboard screen, I want to show the animation of his old position to a new position in the leaderboard, so I need an animation of this row to go up or down based on his standings, please someone help me which widget to use to get this functionality working. Thanks
AnimatedList is the widget you are looking for. It automatically generates entrance and exit animation when items are added/deleted. Combined that with SizeTransition, and you will get a nice "growing/shrinking" effect.
There are some really good examples (and even a video tutorial) on the official docs as well.
You can also look at this answer for a more complex example of using 2 of them.

how to make title in TOCropViewController CocoaPod?

I need to add a title bar named "Crop Image" in this Cocoapod.
Please help me
I'm the developer of TOCropViewController. :)
There's no feature in the library at the moment to display text above the cropping content right now. But it would be fairly trivial to add a UILabel to the view and position it near the top of the view.
The challenge is that you'd then need to account for it when the device is rotated sideways. At the moment, the cropping content will fill the entire height of a horizontal device, so you'd need to override that to account for the text.
It's been a while since I wrote it, but I did include a property in the vertical layout code to add padding to the top of the view controller, so it SHOULD be relatively easy.
I sadly don't have time to add it myself, but I made an issue on the repo and added the pr requested tag. Hopefully someone with more free time than I do can add it. :)

wxWigets create wxPanel changing with the context

My software is based on just a frame dividen into two panels
For example, if I click the button "let's draw", the first panel on the left should becone a toolbox (with colour palette, brush and so on), the second panel should become a paint like panel
If I click the button "let's sing", on the left should appear four button, on the right the song to sing
What's the best tecnique to obtain that result?
I render the four panel (two for drawing, two for singing). The two I use are in position 0,0; the other are in position -1000,0
I create some function changeLeftPanelIntoDrawing(), changeRightPanelIntoDrawing(), changeLeftPanelIntoSinging(), changeRightPanelIntoSinging(), then I call them on click
Other hint?
In wxWidgets 3.0 you have wxSimplebook which allows you to just add different pages (i.e. arbitrary windows) to it and switch between them. If you're using an earlier version you can still just drop the contents of wx/simplebook.h into your project and use it, it's a very simple class and you can read its code in 30 seconds to see how it is implemented.

Nokia S-40 LWUIT list scrolling issue

I've a List in my app and when I do the scroll over all the screen, the List use to set in the first element, I meant the user is sent to the beginning of the list if I make the gesture painted with the red arrow.
Anybody knows anything about this issue?
ADD
Video
I'm not sure about the S40 port since I'm not sure what they did there. Many of these things relate to placing a List within a scrollable container rather than placing it in the center of a non-scrollable container.

what's the best way to display images in qt? also I would like to zoom in to particular areas as well

I've been using label to display images. I'd like to be able to click and create a bounding box then be able to drag the cursor to move around in the image. What would I need to do this? Thanks.
I'm not 100% sure I understand what you are trying to do, but I think the QGraphicsScene is what you are looking for. You can (among many other things):
Render images (QGraphicsPixmapItem, for example)
Change the zoom level when rendering the scene on a QGraphicsView.
Select things using a "rubber band"
Move items around with the mouse (see QGraphicsItem::ItemIsMovable)
etc.
You may need to get familiar with Qt's graphics view framework.