We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 851516e + ef48c4d commit 814187dCopy full SHA for 814187d
scene/gui/color_picker.cpp
@@ -1553,6 +1553,7 @@ void ColorPicker::_pick_button_pressed_legacy() {
1553
1554
picker_texture_rect = memnew(TextureRect);
1555
picker_texture_rect->set_anchors_preset(Control::PRESET_FULL_RECT);
1556
+ picker_texture_rect->set_expand_mode(TextureRect::EXPAND_IGNORE_SIZE);
1557
picker_window->add_child(picker_texture_rect);
1558
picker_texture_rect->set_default_cursor_shape(CURSOR_POINTING_HAND);
1559
picker_texture_rect->connect(SceneStringName(gui_input), callable_mp(this, &ColorPicker::_picker_texture_input));
0 commit comments