Reintroduce some set_border_width to circumvent some Gtk bugs.

Also fix a bug that let you grab the first and last point of the
diagonal curve more easily now, when they are at their left/right
extremum.
This commit is contained in:
Hombre
2016-02-29 22:08:05 +01:00
parent 3577d87862
commit 830c58877f
8 changed files with 38 additions and 468 deletions

View File

@@ -31,6 +31,7 @@ ToolVBox::ToolVBox()
void ToolVBox::updateStyle()
{
set_spacing(1); // Vertical space between tools
set_border_width(3); // Space separating the tab's frame and the tools
}
void ToolVBox::on_style_updated ()
@@ -46,6 +47,7 @@ ToolParamBlock::ToolParamBlock()
void ToolParamBlock::updateStyle()
{
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
}
void ToolParamBlock::on_style_updated ()