Actions
Bug #2363
closedWDoubleSpinbox does not use decimal point from WLocale
Start date:
10/28/2013
Due date:
% Done:
0%
Estimated time:
Description
Hello! I want my web application to use ',' as decimal point in floating-point numbers.
So i tried:
Wt::WLocale locale = wApp->locale();
locale.setDecimalPoint(",");
wApp->setLocale(locale);
It works in such widgets as (WTableView, WTreeView etc), but it does not work at WDoubleSpinbox.
How can I achieve this?
Updated by Vitaly Volochay about 11 years ago
Find out this in WDoubleSpinBox.C:
WString WDoubleSpinBox::textFromValue() const
{
// FIXME, need to use WLocale here somehow !!
...
}
Are you planning to fix this in next version?
Updated by Koen Deforche about 11 years ago
- Status changed from New to InProgress
- Target version changed from 3.3.1 to 3.3.2
Hey,
This is indeed something we overlooked while adding WLocale number support.
We will set the situation right for the next release.
Regards,
koen
Updated by Koen Deforche almost 11 years ago
- Assignee set to Roel Standaert
- Priority changed from High to Normal
Updated by Roel Standaert almost 11 years ago
- Status changed from InProgress to Resolved
Updated by Koen Deforche almost 11 years ago
- Status changed from Resolved to Closed
Actions