mirror of
https://gitee.com/openharmony/distributedhardware_distributed_hardware_fwk
synced 2024-11-26 17:30:31 +00:00
fix title margin gap in pc
Signed-off-by: dengxiaoyu <dengxiaoyu6@huawei.com>
This commit is contained in:
parent
9cfdb80c59
commit
11e4826f3b
@ -71,14 +71,14 @@ struct ContinueSwitch {
|
||||
@StorageProp('currentFontSizeScale') @Watch('onFontSizeScaleChange') fontSizeScale: number = 1;
|
||||
@State phoneSwitchTextTopMargin: string = '17vp';
|
||||
@State phoneSwitchTextBottomMargin: string = '18vp';
|
||||
@State titleBarMargin: LocalizeMargin = {
|
||||
@State titleBarMargin: LocalizedMargin = {
|
||||
start: LengthMetrics.resource($r('sys.float.margin_left')),
|
||||
}
|
||||
@State titleBarMarginPc: LocalizeMargin = {
|
||||
@State titleBarMarginPc: LocalizedMargin = {
|
||||
start: LengthMetrics.vp(16),
|
||||
}
|
||||
@State paddingStartNormal: lengthMetrics = LengthMetrics.resource($r('sys.float.margin_left'));
|
||||
@State paddingStartPc: lengthMetrics = LengthMetrics.vp(16);
|
||||
@State paddingStartNormal: LengthMetrics = LengthMetrics.resource($r('sys.float.margin_left'));
|
||||
@State paddingStartPc: LengthMetrics = LengthMetrics.vp(16);
|
||||
private listener: mediaQuery.MediaQueryListener = mediaQuery.matchMediaSync('(dark-mode:true)');
|
||||
private extContext?: common.UIExtensionContext;
|
||||
private scroller: Scroller = new Scroller();
|
||||
|
Loading…
Reference in New Issue
Block a user