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' ;
2
2
import { TabContentItem as TabContentItemDefinition } from '.' ;
3
3
import { TabContentItemBase } from './tab-content-item-common' ;
4
4
@@ -14,7 +14,7 @@ export class TabContentItem extends TabContentItemBase {
14
14
15
15
public createNativeView ( ) {
16
16
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 ) ;
18
18
19
19
return layout ;
20
20
}
Original file line number Diff line number Diff line change @@ -270,7 +270,7 @@ export class TabNavigationBase extends View implements TabNavigationBaseDefiniti
270
270
// overridden by inheritors
271
271
}
272
272
273
- public setTabBarRippleColor ( value : Color , alpha ?:number ) {
273
+ public setTabBarRippleColor ( value : Color , alpha ?: number ) {
274
274
// overridden by inheritors
275
275
}
276
276
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
222
222
const lp = new org . nativescript . widgets . CommonLayoutParams ( ) ;
223
223
lp . row = 1 ;
224
224
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 ) ;
227
227
228
228
viewPager . setLayoutParams ( lp ) ;
229
229
} 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 ) ;
232
232
this . tabBarLayoutParams = lp ;
233
233
}
234
234
Original file line number Diff line number Diff line change @@ -3479,7 +3479,7 @@ __metadata:
3479
3479
3480
3480
"@nativescript-community/plugin-seed-tools@file:tools::locator=%40nativescript-community%2Fui-material-components%40workspace%3A.":
3481
3481
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."
3483
3483
dependencies:
3484
3484
"@angular/animations": "npm:~18.2.13"
3485
3485
"@angular/common": "npm:~18.2.13"
@@ -3544,7 +3544,7 @@ __metadata:
3544
3544
vue: "npm:^2.7.16"
3545
3545
yargs: "npm:^17.7.2"
3546
3546
zone.js: "npm:~0.15.0"
3547
- checksum: f5c4a092a89a21dec1551628fcb3808022a0b2ad738e5aebeb3e8c706a860cd489b497441406ac4aa662aed78880dedda89ff19612fc7a82746db72fd6fd84dd
3547
+ checksum: 92e5d131cc644278522669a1e0053b5ada10ae5deb4cf385ed8047d594e5b2927c56f92923aa7e9250f4d1204d9c0eaa6987b7791a35e3462d7ecfa04b241a27
3548
3548
languageName: node
3549
3549
linkType: hard
3550
3550
You can’t perform that action at this time.
0 commit comments