Actions
Bug #3904
closedwt-3.3.4-rc2: WDialog::positionAt() position scheme should be fixed
Start date:
03/19/2015
Due date:
% Done:
0%
Estimated time:
Description
Hi,
I use a WDialog to let the user select some values from a list and I want to position the dialog next to a widget by using positionAt() method. The dialog is positioned correctly regarding the coordinates but some parts of the dialog is not shown. The position scheme is set to absolute within the positionAt() method. But it should be fixed.
For now I use an own positionAt() method using a WMouseEvent object. Maybe you can include this method into the WPopupWidget class as well.
void MyDialog::positionAt(const Wt::WMouseEvent& ev)
{
setPositionScheme(Fixed);
setOffsets(ev.window().x, Left);
setOffsets(ev.window().y, Top);
}
Files
Updated by Koen Deforche almost 10 years ago
- Status changed from New to InProgress
- Assignee set to Benoit Daccache
Updated by Benoit Daccache almost 10 years ago
- Status changed from InProgress to Resolved
Updated by Koen Deforche over 9 years ago
- Status changed from Resolved to Closed
Actions