Skip to content

Commit a2822a5

Browse files
authored
Fix non expanding IMGUIContainer
IMGUIContainer now expands so flexible space works correctly
1 parent df8031d commit a2822a5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Editor/ToolbarCallback.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ void RegisterCallback(string root, Action cb) {
7070
}
7171
};
7272
var container = new IMGUIContainer();
73+
container.style.flexGrow = 1;
7374
container.onGUIHandler += () => {
7475
cb?.Invoke();
7576
};

0 commit comments

Comments
 (0)