分割线偏移

Signed-off-by: fanchenxuan <fanchenxuan@huawei.com>
This commit is contained in:
fanchenxuan 2023-10-30 11:59:53 +08:00
parent d6c3d3b12f
commit 67f3510226
4 changed files with 4 additions and 3 deletions

View File

@ -29,7 +29,7 @@ let bottomPopoverTypes = ['default', 'phone'];
.fontSize(Constants.TEXT_MIDDLE_FONT_SIZE)
.fontWeight(FontWeight.Medium)
.height(Constants.BUTTON_HEIGHT)
.flexGrow(Constants.FLEX_GROW)
.width(Constants.HALF_LENGTH)
}
@CustomDialog

View File

@ -70,6 +70,7 @@ export default class Constants {
// 100% width,height
static FULL_WIDTH = '100%';
static FULL_HEIGHT = '100%';
static HALF_LENGTH = '50%';
// public property style
static PERMISSION = 1;

View File

@ -35,7 +35,7 @@ import { LocationCanvas } from '../common/components/location';
.fontSize(Constants.TEXT_MIDDLE_FONT_SIZE)
.fontWeight(FontWeight.Medium)
.height(Constants.BUTTON_HEIGHT)
.flexGrow(Constants.FLEX_GROW)
.width(Constants.HALF_LENGTH)
}
const FUZZY_LOCATION_PERMISSION = 'ohos.permission.APPROXIMATELY_LOCATION';

View File

@ -32,7 +32,7 @@ let bottomPopoverTypes = ['default', 'phone'];
.fontSize(Constants.TEXT_MIDDLE_FONT_SIZE)
.fontWeight(FontWeight.Medium)
.height(Constants.BUTTON_HEIGHT)
.flexGrow(Constants.FLEX_GROW)
.width(Constants.HALF_LENGTH)
}
@Entry