// SPDX-FileCopyrightText: 2020 - 2022 UnionTech Software Technology Co., Ltd.
//
// SPDX-License-Identifier: LGPL-3.0-or-later

.pragma library

// Common pixel
const ControlPadding = 6;
const ControlMargin = 6;
const ControlSpacing = 6;
const ControlRadius = 8;
const ControlFocusBorderWidth = 2;
const ControlFocusSpaceWidth = 1;

// BusyIndicator
const BusyIndicator_ItemWidth = 28;
const BusyIndicator_ItemHeight = 28;

//PageIndicator
const PageIndicator_ImplicitWidth = 8;
const PageIndicator_ImplicitHeight = 8;

//StackView
const StackViewAnimationDuration = 200;

//RoundButton
const RoundButton_ImplicitWidth = 28;
const RoundButton_ImplicitHeight = 28;

// CheckBox
const CheckBox_Indicator_FocusWidth = 21;
const CheckBox_Indicator_FocusHeight = 21;
const CheckBox_Indicator_FocusBorderWidth = 2;
const CheckBox_Indicator_FocusRadius = 4;

const CheckBox_Indicator_CheckedWidth = 15;
const CheckBox_Indicator_CheckedHeight = 15;

const CheckBox_Indicator_UncheckedWidth = 13;
const CheckBox_Indicator_UncheckedHeight = 13;
const CheckBox_Indicator_UncheckedBorderWidth = 1;
const CheckBox_Indicator_UncheckedRadius = 2;

const CheckBox_Indicator_PartiallyCheckedHeight = 2;

// RadioButton
const RadioButton_Indicator_FocusWidth = 21;
const RadioButton_Indicator_FocusHeight = 21;
const RadioButton_Indicator_FocusBorderWidth = 2;

const RadioButton_Indicator_CheckedWidth = 14;
const RadioButton_Indicator_CheckedHeight = 14;

const RadioButton_Indicator_UncheckedWidth = 13;
const RadioButton_Indicator_UncheckedHeight = 13;
const RadioButton_Indicator_UncheckeBorderWidth = 1;

// ScrollBar


// Switch
const Switch_Indicator_Width = 50;
const Switch_Indicator_Height = 24;

const Switch_Button_Width = 30;
const Switch_Button_Height = 24;

const Switch_Radius = 8;

// Slider
const Slider_Handle_Width = 20;
const Slider_Handle_Height = 24;

const Slider_Groove_Width = 100;
const Slider_Groove_height = 6;

const Slider_Width = Slider_Handle_Width + Slider_Groove_Width;
const Slider_Height = 60;

// ProgressBar
const ProgressBar_Width = 95;
const ProgressBar_Height = 38;

// ComboBox
const ComboBox_Width = 140
const ComboBox_Heigt = 36

// MenuItem
const MenuItem_Width = 140;
const MenuItem_Height = 30;

// ItemDelegate
const ItemDelegate_Height = 30;

// Button
const Button_MiniSize = 36;

// Dial
const Dial_miniSize = 100;

// TextField
const TextField_width = 180;
const TextField_Height = 36;

// TextArea
const TextArea_Width = 180;
const TextArea_Height = 100;

// SpinBox
const SpinBox_Content_Width = 140;
const SpinBox_Height = 36;

// TitleBar
const TitleBar_Height = 45;

// DialogWindow
const DialogWindow_MaximumHeight = 480;

// AlertControl
const AlertControl_VerticalPadding = 4
const AlertControl_HorizontalPadding = 10
const AlertConnector_Width = 3
const AlertConnector_Height = 12
