File tree Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 1- import { GridLayout , View , Trace } from '@nativescript/core' ;
1+ import { GridLayout , Trace , View } from '@nativescript/core' ;
22import { TabContentItem as TabContentItemDefinition } from '.' ;
33import { TabContentItemBase } from './tab-content-item-common' ;
44
@@ -14,7 +14,7 @@ export class TabContentItem extends TabContentItemBase {
1414
1515 public createNativeView ( ) {
1616 const layout = new org . nativescript . widgets . GridLayout ( this . _context ) ;
17- layout . addRow ( new org . nativescript . widgets . ItemSpec ( 1 , org . nativescript . widgets . GridUnitType . star ) ) ;
17+ layout . addRow ( 1 , org . nativescript . widgets . GridUnitType . star ) ;
1818
1919 return layout ;
2020 }
Original file line number Diff line number Diff line change @@ -270,7 +270,7 @@ export class TabNavigationBase extends View implements TabNavigationBaseDefiniti
270270 // overridden by inheritors
271271 }
272272
273- public setTabBarRippleColor ( value : Color , alpha ?:number ) {
273+ public setTabBarRippleColor ( value : Color , alpha ?: number ) {
274274 // overridden by inheritors
275275 }
276276
Original file line number Diff line number Diff line change @@ -222,13 +222,13 @@ export abstract class TabNavigation<T extends android.view.ViewGroup = any> exte
222222 const lp = new org . nativescript . widgets . CommonLayoutParams ( ) ;
223223 lp . row = 1 ;
224224 if ( this . tabsPosition === 'top' ) {
225- nativeView . addRow ( new org . nativescript . widgets . ItemSpec ( 1 , org . nativescript . widgets . GridUnitType . auto ) ) ;
226- nativeView . addRow ( new org . nativescript . widgets . ItemSpec ( 1 , org . nativescript . widgets . GridUnitType . star ) ) ;
225+ nativeView . addRow ( 1 , org . nativescript . widgets . GridUnitType . auto ) ;
226+ nativeView . addRow ( 1 , org . nativescript . widgets . GridUnitType . star ) ;
227227
228228 viewPager . setLayoutParams ( lp ) ;
229229 } else {
230- nativeView . addRow ( new org . nativescript . widgets . ItemSpec ( 1 , org . nativescript . widgets . GridUnitType . star ) ) ;
231- nativeView . addRow ( new org . nativescript . widgets . ItemSpec ( 1 , org . nativescript . widgets . GridUnitType . auto ) ) ;
230+ nativeView . addRow ( 1 , org . nativescript . widgets . GridUnitType . star ) ;
231+ nativeView . addRow ( 1 , org . nativescript . widgets . GridUnitType . auto ) ;
232232 this . tabBarLayoutParams = lp ;
233233 }
234234
Original file line number Diff line number Diff line change @@ -3479,7 +3479,7 @@ __metadata:
34793479
34803480"@nativescript-community/plugin-seed-tools@file:tools::locator=%40nativescript-community%2Fui-material-components%40workspace%3A.":
34813481 version: 1.0.0
3482- resolution: "@nativescript-community/plugin-seed-tools@file:tools#tools::hash=e2683f &locator=%40nativescript-community%2Fui-material-components%40workspace%3A."
3482+ resolution: "@nativescript-community/plugin-seed-tools@file:tools#tools::hash=a59b86 &locator=%40nativescript-community%2Fui-material-components%40workspace%3A."
34833483 dependencies:
34843484 "@angular/animations": "npm:~18.2.13"
34853485 "@angular/common": "npm:~18.2.13"
@@ -3544,7 +3544,7 @@ __metadata:
35443544 vue: "npm:^2.7.16"
35453545 yargs: "npm:^17.7.2"
35463546 zone.js: "npm:~0.15.0"
3547- checksum: f5c4a092a89a21dec1551628fcb3808022a0b2ad738e5aebeb3e8c706a860cd489b497441406ac4aa662aed78880dedda89ff19612fc7a82746db72fd6fd84dd
3547+ checksum: 92e5d131cc644278522669a1e0053b5ada10ae5deb4cf385ed8047d594e5b2927c56f92923aa7e9250f4d1204d9c0eaa6987b7791a35e3462d7ecfa04b241a27
35483548 languageName: node
35493549 linkType: hard
35503550
You can’t perform that action at this time.
0 commit comments