Cocoa/Listview: make textAlignment config compatible with Intel CPUs

This commit is contained in:
rich2014 2024-08-20 23:33:03 +08:00
parent 0266b04420
commit 1d1fea953d

View File

@ -2,6 +2,7 @@ unit CocoaConfig;
{$mode objfpc}{$H+}
{$modeswitch objectivec1}
{$include cocoadefines.inc}
interface
@ -103,7 +104,7 @@ var
item: (
minSize: ( width:64; height:68 );
controlSpacing: 2;
textFieldAlignment: 1; // NSTextAlignmentCenter
textFieldAlignment: {$ifdef USE_IOS_VALUES}1{$else}2{$endif}; // NSTextAlignmentCenter
checkBoxOccupiedWidth: 24
);
imageView: ( minSize: ( width: 32; height: 32 ); padding: 10; );