Project

General

Profile

Actions

Support #12471

open

Making Wt::WFileDropWidget visible

Added by Axel Sjöberg 10 months ago. Updated 8 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
02/28/2024
Due date:
% Done:

0%

Estimated time:

Description

Hello, I'm trying to use the WFileDropWidget, but I can not get it to show on the page. I suspect the problem has to do with CSS. I have tried to get this to work by looking at https://webtoolkit.eu/widgets/forms/file-upload and at ...\wt-4.8.3\examples\filedrop\FileDropApplication.C

Should I see something after running
auto fileDW = root()->addNewWt::WFileDropWidget();?
What am I missing?

In general it would be nice if the widget gallery or examples folder would provide the user with the CSS needed to run the examples.

Actions #1

Updated by Axel Sjöberg 8 months ago

Adding a css background color to the widget made it visible.

Actions

Also available in: Atom PDF