Project

General

Profile

Actions

Bug #2363

closed

WDoubleSpinbox does not use decimal point from WLocale

Added by Anonymous about 11 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Roel Standaert
Target version:
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?

Actions #1

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?

Actions #2

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

Actions #3

Updated by Koen Deforche almost 11 years ago

  • Assignee set to Roel Standaert
  • Priority changed from High to Normal
Actions #4

Updated by Roel Standaert almost 11 years ago

  • Status changed from InProgress to Resolved
Actions #5

Updated by Koen Deforche almost 11 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF