「App:Library:Squareline:docs:dev env:inspector」の版間の差分

提供: robot-jp wiki
ナビゲーションに移動検索に移動
106行目: 106行目:
 
|
 
|
 
|}
 
|}
 
+
</blockquote>
  
 
=== States ===
 
=== States ===

2022年8月4日 (木) 06:31時点における版

SquareLineStudio Inspector.jpg

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

原文


You should name the widget.

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.


ウィジェットには名前を付ける必要があります。

名前の先頭に数字、アンダースコア、または特殊文字を使用することはできません。 コードをエクスポートすると、その名前でウィジェットを見つけることができます。


Transform

原文


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.

    This value can be added in pixels or in percents. Percent value will refer to the size of the parent widget.

  • Width, Height - The width and height of the widget.

    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.

  • Align - The alignment of the widget to the parent.


すべてのウィジェットの位置とサイズ、および独自の親への配置を定義する必要があります。

  • X, Y - ウィジェットの X と Y の位置。

    この値は、ピクセル単位またはパーセント単位で追加できます。 パーセント値は、親ウィジェットのサイズを参照します。

  • 幅、高さ - ウィジェットの幅と高さ。

    この値は、ピクセル、パーセントで追加するか、コンテンツでパラメーターを定義できます。 パーセント値は親ウィジェットのサイズを参照し、コンテンツは子ウィジェットの最大サイズをコピーします。

  • Align - 親に対するウィジェットの配置。


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

原文





戻る : Previous