Fix cropped curves widget

This commit is contained in:
Hombre
2023-06-25 17:42:34 -07:00
committed by Lawrence Lee
parent 0404a47fb7
commit b950477bc9
2 changed files with 6 additions and 0 deletions

View File

@@ -47,6 +47,11 @@ ToolParamBlock::ToolParamBlock() {
//GTK318
}
Gtk::SizeRequestMode ToolParamBlock::get_request_mode_vfunc () const
{
return Gtk::SIZE_REQUEST_HEIGHT_FOR_WIDTH;
}
FoldableToolPanel::FoldableToolPanel(Gtk::Box* content, Glib::ustring toolName, Glib::ustring UILabel, bool need11, bool useEnabled) : ToolPanel(toolName, need11), parentContainer(nullptr), exp(nullptr), lastEnabled(true)
{
if (!content) {

View File

@@ -70,6 +70,7 @@ class ToolParamBlock :
{
public:
ToolParamBlock();
Gtk::SizeRequestMode get_request_mode_vfunc () const override;
};
class ToolPanel :