UIConfig Fields |
The UIConfig type exposes the following members.
Name | Description | |
---|---|---|
allowSoftnessOnTopOrLeftSide |
Allow softness on top or left side for scrollpane.
| |
bringWindowToFrontOnClick |
When click the window, brings to front automatically.
| |
buttonSound |
Default button click sound.
| |
buttonSoundVolumeScale |
Default button click sound volume.
| |
clickDragSensitivity |
Pixel offsets of mouse pointer to trigger dragging.
| |
defaultComboBoxVisibleItemCount |
The number of visible items in ComboBox.
| |
defaultFont |
Dynamic Font Support.
4.x: Put the xxx.ttf into /Resources or /Resources/Fonts, and set defaultFont="xxx".
5.x: set defaultFont to system font name(or names joint with comma). e.g. defaultFont="Microsoft YaHei, SimHei"
| |
defaultScrollBarDisplay |
Scrollbar display mode. Recommended 'Auto' for mobile and 'Visible' for web.
| |
defaultScrollBounceEffect |
The "rebound" effect in the scolling container.
| |
defaultScrollDecelerationRate |
Deceleration ratio of scrollpane when its in touch dragging.
当手指拖动并释放滚动区域后,内容会滑动一定距离后停下,这个速率就是减速的速率。
越接近1,减速越慢,意味着滑动的时间和距离更长。
这个是全局设置,也可以通过ScrollPane.decelerationRate进行个性设置。
| |
defaultScrollSpeed | Obsolete. | |
defaultScrollStep |
Scrolling step in pixels
当调用ScrollPane.scrollUp/Down/Left/Right时,或者点击滚动条的上下箭头时,滑动的距离。
鼠标滚轮触发一次滚动的距离设定为defaultScrollStep*2
| |
defaultScrollTouchEffect |
Allow dragging anywhere in container to scroll.
| |
defaultTouchScrollSpeedRatio | Obsolete. | |
depthSupportForPaintingMode |
if RenderTexture using in paiting mode has depth support.
| |
frameTimeForAsyncUIConstruction | ||
globalModalWaiting |
Resource using in GRoot.ShowModalWait for locking the screen.
| |
horizontalScrollBar |
Resource url of horizontal scrollbar
| |
inputCaretSize | ||
inputHighlightColor | ||
Items | ||
loaderErrorSign |
In case of failure of loading content for GLoader, use this sign to indicate an error.
| |
modalLayerColor |
When a modal window is in front, the background becomes dark.
| |
popupMenu |
Resources url of PopupMenu.
| |
popupMenu_seperator |
Resource url of menu seperator.
| |
PreloadPackages | ||
renderingTextBrighterOnDesktop |
When using chinese fonts on desktop, I found that the display effect is not very clear. So I wrote shaders to light up their outline.
If you dont use chinese fonts, or dont like the new effect, just set to false here.
The switch is meaningless on mobile platforms.
| |
soundLoader | ||
tooltipsWin |
Resource url of tooltips.
| |
touchDragSensitivity |
Pixel offsets of finger to trigger dragging
| |
touchScrollSensitivity |
Pixel offsets of finger to trigger scrolling
| |
verticalScrollBar |
Resource url of vertical scrollbar
| |
windowModalWaiting |
Resource using in Window.ShowModalWait for locking the window.
|