Skip to content

Commit

Permalink
Fix non expanding IMGUIContainer
Browse files Browse the repository at this point in the history
IMGUIContainer now expands so flexible space works correctly
  • Loading branch information
gjh33 authored Sep 7, 2021
1 parent df8031d commit a2822a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Editor/ToolbarCallback.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ void RegisterCallback(string root, Action cb) {
}
};
var container = new IMGUIContainer();
container.style.flexGrow = 1;
container.onGUIHandler += () => {
cb?.Invoke();
};
Expand Down

0 comments on commit a2822a5

Please sign in to comment.