Reverted some code to hardcode some style for Gtk3.18 only.
This commit is contained in:
@@ -23,9 +23,19 @@
|
||||
using namespace rtengine::procparams;
|
||||
|
||||
|
||||
ToolVBox::ToolVBox() {}
|
||||
ToolVBox::ToolVBox() {
|
||||
#if GTK_MAJOR_VERSION == 3 && GTK_MINOR_VERSION < 20
|
||||
set_spacing(1); // Vertical space between tools
|
||||
set_border_width(3); // Space separating the tab's frame and the tools
|
||||
#endif
|
||||
}
|
||||
|
||||
ToolParamBlock::ToolParamBlock() {}
|
||||
ToolParamBlock::ToolParamBlock() {
|
||||
#if GTK_MAJOR_VERSION == 3 && GTK_MINOR_VERSION < 20
|
||||
set_spacing(2); // Vertical space between parameters in a single tool
|
||||
set_border_width(5); // Space separating the parameters of a tool and its surrounding frame
|
||||
#endif
|
||||
}
|
||||
|
||||
FoldableToolPanel::FoldableToolPanel(Gtk::Box* content, Glib::ustring toolName, Glib::ustring UILabel, bool need11, bool useEnabled) : ToolPanel(toolName, need11), parentContainer(nullptr), exp(nullptr), lastEnabled(true)
|
||||
{
|
||||
|
Reference in New Issue
Block a user