Remove from Viewport not in Unreal anymore? - unreal-engine4

So I have a menu / UI widget in Unreal Engine v4.9.2 and I realised that "Remove from Viewport" isn't available anymore? Is there any alternative? I just need the menu to close after clicking the button on the screen.
Here's my current blueprint:
Any help is great!
Thanks.

Since Unreal Engine 4.6, you now use RemoveFromParent which removes the widget from whatever its parent is (e.g. the viewport). This is exposed to blueprint.
The release notes mention in the C++ API changes the following:
RemoveFromViewport is now deprecated, use RemoveFromParent.

Related

How to create a floating window in VSCode extension?

Im trying to make a VSCode extension and is it possible to create a small window on top of the main window?
Like Youtube Mini Player?
It should be draggable up and down around the left corner.
Any idea would be helpful!
You can create something that's similar, by using a WebView instance, which creates an absolutely positioned div within that page. This would not be movable outside of that WebView but at least you can freely position it within that.
But a bit of a warning: keep in mind vscode is mainly a text editor! It shouldn't be misused as a general webbrowser or media tool or something like that.

Flutter, preview of app and design plugin?

Why flutter does not contain a preview of the app while we are programming it?
Is there any design plugin to be able to drag and drop widgets like in android studio for android apps?
It is difficult to build an interface from code without having a preview of the application.
Thanks!!
Disclaimer: This is not a first party tool.
I think what you're looking for is this:
https://flutterstudio.app/
It's a drag and drop editor for building Flutter layouts.
My personal recommendation is to use an emulator and learn how all the layout widgets work. Thanks to hot-reload it's super easy to experiment and create what you're looking for.
Well, you have emulator. What else do you want to preview your app?
Also on dart dev tools, you have a render tree and widget inspector. There is an option called show debug paint that I highly use to see the size and boundaries of widgets, and many other options I didn't discover yet.
You can use flutter studio if you want to create your ui by dragging and dropping widgets but I didn't use it.
And I just found that.
I really didn't understand what you mean by previewing.
For example, when you are starting and have a lot of examples, you might not remember what they look like.
I might suggest that you save a screenshot in your assets, so you can then remember what the app is about, without running the code.

Scroll a panel using drag and drop gwt

I am trying to scroll a panel by mouse. I looked over drag and drop and I can`t figure out if it is possible using drag events to scroll a panel or is it better using mouse move event, mouse over and mouse out etc.
Any ideas would be appreciated.
Although modern GWT supports DnD, its implementation is not so good, so it is better that you select one 3party library for that. You have gwt-dnd or gwtquery-dnd-plugin. IMO the second one is easier to use and much more powerful.
But I dont think DnD can help you to move the scroll, since it is designed to move all the draggable element and drop over another one.
Maybe what you need is something similar to the scrollwidget in mgwt, it is designed for mobile devices, but it has an implementation for desktop, so hopefully you could either use the library or copy the approach to your implementation.
Just in case you will use gwtquery, keep in mind that it's out of date. So, you will need to put the newest jquery and jquery-ui libraries into the corresponding jar and edit the gwt.xml files accordingly. It's not a big deal, but otherwise you would put your code under the risk of misfunction in newer browsers. By the way, it depends on the usage you would make of jquery-like functionality.

GWT - open source UI lib

I am looking for an Open Source lib for GWT 2.3+ which has dynamic TabbedPane (with close tab button, scrolling, events support etc). I googled but couldn't find any. So I need your skilled advice. Is there such a lib and where to find it?
Thanks
SmartGWT? here is the link to the showcase of TabSet component. What do you mean by events? EventBus? I was using the GWTP framework for this purpose.
EDIT:
license
You can easily build it as a custom widget in GWT.
You need a top panel to show your "tabs" and a panel below it to show a tab content. When a user clicks on a tab, you populate the bottom panel with a selected tab content. You can easily add a button to your "tab" widget and attach a ClickHandler to it to remove the corresponding tab from the top panel. This is basic GWT - you don't need an outside library for it.
You could look at the gxt advanced tabs example and the gxt overview
It is gpl3, but that said it is more like Android where the actual development is behind closed doors unless you have a support contract, and then the src code is available when a version is released.
There are some exceptions available if you have a FLOSS project that is not compatible with GPL3 -- say for example your project is under an Apache license but you want to include gxt (of course, the gxt portion of the code must still comply with gpl3 requirements)
gxt license

GWT Collapsible Panel found in common google services?

The GWT Incubator contains this widget, but it doesn't provide the clean look and feel I am looking for. The Same page does show precisely the widget I would like to use:
A thin resize bar with the small middle arrow icon which is clicked to hide/show a docked panel on the side of the page.
The widget appears on many google services pages, which makes me suspect that it may be a common widget:
Google Reader
Slightly modified (animated) version on Maps
Does anyone where to find or know how to build this widget in GWT.
How about using a VerticalSpliPanel and overriding the OnClick event? On click you can hide your navigation panel.
I don't think Maps and Google Reader are build using GWT. I know Wave is, and it doesn't use the collapsible panel you're looking for... My guess is that this specific widget is not available in GWT but you may be able to find a suitable replacement. Let me know if you do.