*/}}
Browse Source

reduce heightcoeff

YimingWu 1 month ago
parent
commit
b3a614a1a8
1 changed files with 3 additions and 3 deletions
  1. 3 3
      elarp_operations.c

+ 3 - 3
elarp_operations.c

@@ -190,9 +190,9 @@ void erpui_OrderItem(laUiList *uil, laPropPack *This, laPropPack *DetachedProps,
     laShowItemFull(uil,c,This,"message_entries",0,0,erpui_MessageEntryItem,0)->Flags|=LA_UI_FLAGS_NO_DECAL;
 
 
-    laShowItemFull(uil,c,This,"comments",LA_WIDGET_STRING_MULTI,0,0,0)->Extra->HeightCoeff=2;
+    laShowItemFull(uil,c,This,"comments",LA_WIDGET_STRING_MULTI,0,0,0)->Extent=2;
     laShowSeparator(uil,c);
-    laShowItemFull(uil,c,This,"admin_comments",LA_WIDGET_STRING_MULTI,0,0,0)->Extra->HeightCoeff=2;
+    laShowItemFull(uil,c,This,"admin_comments",LA_WIDGET_STRING_MULTI,0,0,0)->Extent=2;
     
     laShowSeparator(uil,c);
     r=laBeginRow(uil,c,0,0);
@@ -235,7 +235,7 @@ void erpui_MessageItem(laUiList *uil, laPropPack *This, laPropPack *DetachedProp
     laShowItem(uil,c,This,"description")->Expand=1;
     laEndRow(uil,r);
 
-    laShowItemFull(uil,c,This,"message",LA_WIDGET_STRING_MULTI,0,0,0)->Extra->HeightCoeff=-1;
+    laShowItemFull(uil,c,This,"message",LA_WIDGET_STRING_MULTI,0,0,0)->Extent=-1;
 }
 
 void erpui_CustomerListItem(laUiList *uil, laPropPack *This, laPropPack *DetachedProps, laColumn *UNUSED, int context){