* Palettes/3Containers/GormBrowserAttributesInspector.m (ok:): reduce number of digits of fraction part to 2.

* Palettes/3Containers/GormNSBrowserInspector.gorm: fixed sizing and postioning; remove delegate from textfields - attribute is set only after user finished editing (pressed Return or Tab key).
This commit is contained in:
Sergii Stoian 2019-12-26 15:15:22 +02:00
parent f2186a6ee6
commit 570ee6cbba
3 changed files with 4 additions and 1 deletions

View file

@ -92,6 +92,9 @@
{
// TODO: Use stepper..
[object setMinColumnWidth: [minColumnWidthField intValue]];
[minColumnWidthField setStringValue:
[NSString stringWithFormat:@"%.2f",
[object minColumnWidth]]];
}
else if ( sender == maxVisibleColumnsField )
{
@ -121,7 +124,7 @@
[[tagForm cellAtIndex:0] setIntValue: [object tag]];
[minColumnWidthField setStringValue:
[NSString stringWithFormat:@"%f",
[NSString stringWithFormat:@"%.2f",
[object minColumnWidth]]];
[maxVisibleColumnsField setStringValue:
[NSString stringWithFormat:@"%ld",