Merge pull request #113938 from YeldhamDev/bugs_below_bugs_below_bugs
Fix buttons overflowing in the bottom panel
This commit is contained in:
commit
43d541195e
2 changed files with 8 additions and 0 deletions
|
|
@ -128,6 +128,12 @@ void EditorBottomPanel::_repaint() {
|
|||
}
|
||||
}
|
||||
|
||||
Size2 EditorBottomPanel::get_minimum_size() const {
|
||||
Size2 min_size = TabContainer::get_minimum_size();
|
||||
min_size.x += bottom_hbox->get_combined_minimum_size().x;
|
||||
return min_size;
|
||||
}
|
||||
|
||||
void EditorBottomPanel::save_layout_to_config(Ref<ConfigFile> p_config_file, const String &p_section) const {
|
||||
Dictionary offsets;
|
||||
for (const KeyValue<String, int> &E : dock_offsets) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue