This commit is contained in:
Alexander Brock
2023-06-27 22:27:42 +02:00
12 changed files with 64 additions and 94 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 :