「App:Library:Squareline:docs:dev env:inspector」の版間の差分
5行目: | 5行目: | ||
!訳 | !訳 | ||
|- | |- | ||
− | | | + | |In the Inspector Panel, there are the parameters of the selected widgets. You can add styles and events to them. |
− | | | + | |インスペクタ パネルには、選択したウィジェットのパラメータがあります。 それらにスタイルとイベントを追加できます。 |
|} | |} | ||
15行目: | 15行目: | ||
!訳 | !訳 | ||
|- | |- | ||
− | | | + | |All widgets have obligatory parameters, such as name, transformation, flags and states. |
− | | | + | |
+ | Besides, there may be special settings, as well. | ||
+ | |すべてのウィジェットには、名前、変換、フラグ、状態などの必須パラメーターがあります。 | ||
+ | |||
+ | また、特別な設定がある場合もあります。 | ||
|} | |} | ||
26行目: | 30行目: | ||
|- | |- | ||
| | | | ||
+ | |||
+ | |||
+ | You should name the widget.<blockquote>There cannot be a number, underscore or a special character at the beginning of the name. | ||
+ | |||
+ | Having exported the code, you can find the widget by that name.</blockquote> | ||
| | | | ||
+ | |||
+ | |||
+ | ウィジェットには名前を付ける必要があります。<blockquote>名前の先頭に数字、アンダースコア、または特殊文字を使用することはできません。 | ||
+ | |||
+ | コードをエクスポートすると、その名前でウィジェットを見つけることができます。</blockquote> | ||
|} | |} | ||
36行目: | 50行目: | ||
|- | |- | ||
| | | | ||
+ | |||
+ | |||
+ | You should define the position and size of every widget and its alignment to its own parent. | ||
+ | |||
+ | * '''X, Y''' - The X and Y position of the widget.<blockquote>This value can be added in pixels or in percents. Percent value will refer to the size of the parent widget.</blockquote> | ||
+ | * '''Width, Height''' - The width and height of the widget.<blockquote>This value can be added in pixels, percents, or the content can define the parameters. Percent value will refer to the size of the parent widget, the content will copy the maximum size of the children widgets.</blockquote> | ||
+ | * '''Align''' - The alignment of the widget to the parent. | ||
| | | | ||
+ | |||
+ | |||
+ | すべてのウィジェットの位置とサイズ、および独自の親への配置を定義する必要があります。 | ||
+ | |||
+ | * '''X, Y''' - ウィジェットの X と Y の位置。<blockquote>この値は、ピクセル単位またはパーセント単位で追加できます。 パーセント値は、親ウィジェットのサイズを参照します。</blockquote> | ||
+ | * '''幅、高さ''' - ウィジェットの幅と高さ。<blockquote>この値は、ピクセル、パーセントで追加するか、コンテンツでパラメーターを定義できます。 パーセント値は親ウィジェットのサイズを参照し、コンテンツは子ウィジェットの最大サイズをコピーします。</blockquote> | ||
+ | * '''Align''' - 親に対するウィジェットの配置。 | ||
|} | |} | ||
45行目: | 73行目: | ||
!訳 | !訳 | ||
|- | |- | ||
− | | | + | |Flags are different attributes, connected to the widgets, which can be enabled or disabled. |
− | | | + | |フラグは、有効または無効にできるウィジェットに接続されたさまざまな属性です。 |
|} | |} | ||
2022年8月4日 (木) 06:29時点における版
Inspector Panel
原文 | 訳 |
---|---|
In the Inspector Panel, there are the parameters of the selected widgets. You can add styles and events to them. | インスペクタ パネルには、選択したウィジェットのパラメータがあります。 それらにスタイルとイベントを追加できます。 |
Widget Properties
原文 | 訳 |
---|---|
All widgets have obligatory parameters, such as name, transformation, flags and states.
Besides, there may be special settings, as well. |
すべてのウィジェットには、名前、変換、フラグ、状態などの必須パラメーターがあります。
また、特別な設定がある場合もあります。 |
Name
原文 | 訳 |
---|---|
|
|
Transform
原文 | 訳 |
---|---|
|
|
Flags
原文 | 訳 |
---|---|
Flags are different attributes, connected to the widgets, which can be enabled or disabled. | フラグは、有効または無効にできるウィジェットに接続されたさまざまな属性です。 |
Main Flags
原文 | 訳 |
---|---|
Scroll Flags
原文 | 訳 |
---|---|
Scroll Settings
原文 | 訳 |
---|---|
States
原文 | 訳 |
---|---|
Style settings
原文 | 訳 |
---|---|
State
原文 | 訳 |
---|---|
Style Properties
原文 | 訳 |
---|---|
Event Properties
原文 | 訳 |
---|---|