Click or drag to resize

UIConfig Fields

The UIConfig type exposes the following members.

Fields
  NameDescription
Public fieldStatic memberallowSoftnessOnTopOrLeftSide
Allow softness on top or left side for scrollpane.
Public fieldStatic memberbringWindowToFrontOnClick
When click the window, brings to front automatically.
Public fieldStatic memberbuttonSound
Default button click sound.
Public fieldStatic memberbuttonSoundVolumeScale
Default button click sound volume.
Public fieldStatic memberclickDragSensitivity
Pixel offsets of mouse pointer to trigger dragging.
Public fieldStatic memberdefaultComboBoxVisibleItemCount
The number of visible items in ComboBox.
Public fieldStatic memberdefaultFont
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"
Public fieldStatic memberdefaultScrollBarDisplay
Scrollbar display mode. Recommended 'Auto' for mobile and 'Visible' for web.
Public fieldStatic memberdefaultScrollBounceEffect
The "rebound" effect in the scolling container.
Public fieldStatic memberdefaultScrollDecelerationRate
Deceleration ratio of scrollpane when its in touch dragging. 当手指拖动并释放滚动区域后,内容会滑动一定距离后停下,这个速率就是减速的速率。 越接近1,减速越慢,意味着滑动的时间和距离更长。 这个是全局设置,也可以通过ScrollPane.decelerationRate进行个性设置。
Public fieldStatic memberdefaultScrollSpeed Obsolete.
Public fieldStatic memberdefaultScrollStep
Scrolling step in pixels 当调用ScrollPane.scrollUp/Down/Left/Right时,或者点击滚动条的上下箭头时,滑动的距离。 鼠标滚轮触发一次滚动的距离设定为defaultScrollStep*2
Public fieldStatic memberdefaultScrollTouchEffect
Allow dragging anywhere in container to scroll.
Public fieldStatic memberdefaultTouchScrollSpeedRatio Obsolete.
Public fieldStatic memberdepthSupportForPaintingMode
if RenderTexture using in paiting mode has depth support.
Public fieldStatic memberframeTimeForAsyncUIConstruction
Public fieldStatic memberglobalModalWaiting
Resource using in GRoot.ShowModalWait for locking the screen.
Public fieldStatic memberhorizontalScrollBar
Resource url of horizontal scrollbar
Public fieldStatic memberinputCaretSize
Public fieldStatic memberinputHighlightColor
Public fieldItems
Public fieldStatic memberloaderErrorSign
In case of failure of loading content for GLoader, use this sign to indicate an error.
Public fieldStatic membermodalLayerColor
When a modal window is in front, the background becomes dark.
Public fieldStatic memberpopupMenu
Resources url of PopupMenu.
Public fieldStatic memberpopupMenu_seperator
Resource url of menu seperator.
Public fieldPreloadPackages
Public fieldStatic memberrenderingTextBrighterOnDesktop
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.
Public fieldStatic membersoundLoader
Public fieldStatic membertooltipsWin
Resource url of tooltips.
Public fieldStatic membertouchDragSensitivity
Pixel offsets of finger to trigger dragging
Public fieldStatic membertouchScrollSensitivity
Pixel offsets of finger to trigger scrolling
Public fieldStatic memberverticalScrollBar
Resource url of vertical scrollbar
Public fieldStatic memberwindowModalWaiting
Resource using in Window.ShowModalWait for locking the window.
Top
See Also