The UI Editor

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
Line 41: Line 41:
  
 
[[File:uieditor3.jpg]]
 
[[File:uieditor3.jpg]]
 +
 +
  
  
Line 64: Line 66:
  
 
[[File:uieditor5.jpg]]
 
[[File:uieditor5.jpg]]
 +
 +
 +
 +
For the UI button, a define command will be created for the button.
 +
 +
[[File:mybutton.jpg]]
 +
 +
 +
Once a define command is created, the defined command will be assigned to the button:
 +
 +
[[File:uibutton.gif]]
 +
 +
  
  

Revision as of 02:08, 12 February 2014

The UI Editor is found in all Editions of UBot Studio. Only Developer edition users will be able to access the html and css of the interface created and change it using the Generate UI HTML command button.

The Feature can be accessed in the View Menu of UBot Studio.


File:Uihtmlp.jpg



Anatomy of the UI Editor

The UI Editor is comprised of four parts:

The Tool Box: This is where the text box, panel, large paragraph boxes, check boxes, and other UI elements are found. Each item can be dragged and dropped into the UI area.


File:Uieditor0.jpg



The UI Area: Where the UI the design of the UI occurs. What appears in the UI area is what will appear on the UI for the compiled bot.


File:Uieditor1.jpg



The Properties and Style Panel: Allows the changing of properties such as the element ID (which will also be the variable for the UI element), height, width, layers, etc, as well as style properties such as the color, font, borders color and width, and many more.


File:Uieditor2.jpg



The Snap To Drop Down: Assists in moving an re-sizing element to make UI elements easier to align.


File:Uieditor3.jpg



Script Integration

To integrate the UI element into the rest of the script, the UI Element ID also serves as the variable for the UI element.


Uieditor4.jpg


Type the UI Element Label into the text box as a variable.


Uieditor6.jpg


The keyword typed into the Textbox will be inserted into the selected field in the type text command.


Uieditor5.jpg


For the UI button, a define command will be created for the button.

Mybutton.jpg


Once a define command is created, the defined command will be assigned to the button:

Uibutton.gif



The Generate UI HTML Command Button

The Generate UI HTML command button is found on developer licenses.

It will generate a UI HTML command complete with the css and html for the UI created in the UI editor.


Uihtmp0.jpg


This allows advanced Developer license holders to edit the css and html for the generated UI for greater control over the compiled scripts's customization.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox