Actions
Bug #2363
closed
RS
WDoubleSpinbox does not use decimal point from WLocale
Bug #2363:
WDoubleSpinbox 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?
VV Updated by Vitaly Volochay almost 13 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?
KD Updated by Koen Deforche almost 13 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
KD Updated by Koen Deforche over 12 years ago
- Assignee set to Roel Standaert
- Priority changed from High to Normal
RS Updated by Roel Standaert over 12 years ago
- Status changed from InProgress to Resolved
KD Updated by Koen Deforche over 12 years ago
- Status changed from Resolved to Closed
Actions