Changelog¶
The Omniverse UI Framework.
omni.ui
provides the basic types necessary to create rich extensions with a
fluid and dynamic user interface in the Omniverse applications.
[2.9.10] - 2022-06-15¶
Fixed¶
Padding of Slider and Field
Added¶
Support of border_color in ComboBox
Support of fonts in TextEditor
Changed¶
No necessary to keep ImageProvider in python var anymore
[2.9.4] - 2022-05-02¶
Added¶
ui.Workspace API to inspect parent docking node id and docking node size:
get_parent_dock_id
get_dock_id_width
get_dock_id_height
set_dock_id_width
set_dock_id_height
[2.9.3] - 2022-04-22¶
Fixed¶
Image blurring when it’s placed to fractional position (like x:0.5, y:0.5)
[2.9.2] - 2022-04-08¶
Fixed¶
Change the CanvasFrame zoom max from constant 10 to float max
Make the CanvasFrame zoom near the zoom min and zoom max smooth
[2.9.1] - 2022-04-06¶
Fixed¶
The workspace should hide the explicitly invisible windows even if the flag keep_windows_open is set.
[2.9.0] - 2022-04-06¶
Fixed¶
Message “Failed to acquire interface while unloading all plugins” related to Button, Image and ImageWithProvider
[2.8.2] - 2022-04-05¶
Added¶
setZoomKeyShortcut api for ui.CanvasFrame to allow user to set alternative shortcut for graph zoom in adition to middle mouse scroll
[2.8.0] - 2022-03-21¶
Changed¶
ui.CollapsableFrame marks both its header and body for rebuilding on a rebuild call
[2.7.9] - 2022-02-22¶
Changed¶
Updated
capture_and_compare
with use_log parameterUpdated
docked_test_window
for omni.kit.window compatibility
[2.7.3] - 2022-03-10¶
Fixed¶
Fixed the size of
ui.ToolBar
. Before it was always 600x400 and it’s the reason why the saves workspace proportions were wrong. So the workspace proportions are fixed.Fixed the visibility of windows in
ui.Workspace.restore_workspace
.
[2.7.1] - 2022-02-18¶
Fixed¶
OM-36695: Drag and drop of multiple items
OM-43762: Freezing of ui.FreeBezierCurve when end_tangent_height is extreamly big
“Move to External Window” menu should only appear when clicking the title
[2.7.0] - 2022-02-18¶
Added¶
ui.CanvasFrame.set_pan_x_changed_fn for tracking how user navigates
ui.MenuItemCollection that behaves like a radio box
Property ui.Widget.tooltip so it’s possible to query it
Ability to create right-aligned horizontal menu
Fixed¶
The menu automatically updates when changing the
checked
propertyHorizontal ui.Menu doesn’t open windows on hover
ui.MenuHelper checks if the user clicked in another window
[2.5.19] - 2022-01-28¶
Changed¶
set TreeView header’s height and width to 0 instead of computedHeight and computedWidth
[2.5.17] - 2022-01-19¶
Changed¶
Fix issue for OM-40734: once TreeView is scrolled, the header is not clickable
[2.5.14] - 2022-01-11¶
Changed¶
The way to add a shade to named color:
cl.test_named_shade_append = cl.shade(cl("#000000"), red=cl("#FF0000"))
cl.test_named_shade_append.add_shade(blue=cl("#0000FF"))
[2.5.10] - 2021-12-16¶
Fixed¶
Crash when specifying
columns_resizable=True
on a treeview but forgetting to setcolumn_widths
[2.5.8] - 2021-12-09¶
Added¶
The ability to move ui.Window to the virtual OS window. See
ui.Window.move_to_app_window
[2.5.7] - 2021-12-08¶
Added¶
Warning message when restoring the layout of tab bar of the window that doesn’t exist
[2.5.3] - 2021-11-02¶
Added¶
ui.Menu.shown is a property that is True if the menu is shown on the screen
Static ui.Menu.get_current() that returns currently shown menu
ui.Inspector can get children of ui.TreeView, ui.Grid and ui.Frame
The ability to use FontHelper with non-widgets
[2.3.1] - 2021-06-15¶
Changed¶
When
dock_tab_bar_visible
is false, tab bar has a triangle and doesn’t have tabs
Added¶
Added a menu that sets
dock_tab_bar_visible
for a tab if it’s a single tab in tab barAdded
dock_tab_bar_enabled
to disable tab bar completelySerialization of
dock_tab_bar_visible
anddock_tab_bar_enabled
in quick layout
[2.3.0] - 2021-06-04¶
Added¶
The ability to use style shades for floats and URLs in style properties
[2.2.0] - 2021-05-31¶
Added¶
ui.Widget.set_computed_content_size_changed_fn
will be called when the computed size of the widget is changed.
[2.1.7] - 2021-05-11¶
Added¶
Added WINDOW_FLAGS_NO_SCROLL_WITH_MOUSE that locks scroll
Fixed¶
Fixed pan over a backdrop in Material Editor
[2.1.5] - 2021-04-08¶
Fixed¶
position_x/position_y of undocked window
Changed¶
Those methods are not abstract anymore: a. AbstractItemDelegate::buildBranch b. AbstractItemDelegate::buildHeader c. AbstractItemModel::appendChildItem d. AbstractItemModel::removeItem
[2.1.4] - 2021-04-06¶
Added¶
ui.Widget.FLAG_WANT_CAPTURE_KEYBOARD: The flag passed to
key_pressed
callback that indicated omni.ui is using the keyboard input exclusively
[2.1.3] - 2021-03-18¶
Added¶
Default style can be applied to
omni.ui.style.default
CSS color names
Named colors
Shades