Bug 5267

feature request - need for left and right padding on dw (computed) columns 17 September, 2020

Miguel Leeuwe
16 September, 2020
Product: PowerBuilder Category: DataWindow
Version: 2019 R3 Beta Build:
Classification: Enhancement Publishing: Public
Priority: P2
Status: Transferring Reason:
Ken Guo @Appeon 17 September, 2020
Hi Miguel,

Thanks for reporting this problem.
This is a VERY useful suggestion. 
We'll transfer this enhancement to our product team for consideration. 

Miguel Leeuwe 16 September, 2020
Or maybe I should use an EditMask like "#,###.##" and and Editmask Format of "#,##0.00", maybe that would solve the problem, have to check it out.
Miguel Leeuwe 16 September, 2020
I usually avoid EditMasks, since they're a pain to write in when it's a number editMask that includes 0 values. You first have to delete the 0, if not it will be appended to whatever number you're writing.
Now that I think of it ... maybe that should be another "feature request" :)
Miguel Leeuwe 16 September, 2020
Chris Pollach @Appeon 16 September, 2020
Hi Miguel;

  Thank you for that very useful enhancement suggestion. I normally use an EditMask for forcing a little white space between the DWO's column border and the data. However, this would be great if the DWO, SLE, MLE, etc controls did that automatically for the entire App.

  I will now transfer this ticket over to the Engineering team for their review & feedback.

Regards ... Chris
Miguel Leeuwe 16 September, 2020
The same attribute would also be needed for the column's labels (static text columns).
Miguel Leeuwe 16 September, 2020
Feature request:
To avoid column values being shown "tightly against" the column borders (which looks kind of ugly), we apply some left or right padding (one or 2 whitespaces) on the formats of our columns.
It would be nice if dw columns (and computed columns) would have a new "left- and right padding"  attribute ( in pixels or powerbuilderunits). 

Our current process is not perfect, especially when trying to read values from computed columns of type string. (see my next ticket in 15 minutes from now).

Thank you,
*Reproduce Steps:

Windows 10
Database Type:
Database Version: