Project

General

Profile

Actions

Support #12471

open

Making Wt::WFileDropWidget visible

Added by Axel Sjöberg almost 2 years ago. Updated 2 months ago.

Status:
Feedback
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 over 1 year ago

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

Actions #2

Updated by Matthias Van Ceulebroeck 2 months ago

  • Status changed from New to Feedback
  • Assignee set to Axel Sjöberg

Hi Axel,

Wt does support this, there will be styling available for all possible included themes. Likely the path to the resources-dir was missing here?

Actions

Also available in: Atom PDF