Logo Search packages:      
Sourcecode: inkscape version File versions

void Inkscape::UI::Dialog::TileDialog::on_RowSize_checkbutton_changed (  ) 

checked/unchecked autosize Rows button.

Definition at line 437 of file tile.cpp.

References Inkscape::Preferences::get(), and Inkscape::Preferences::setDouble().

Referenced by TileDialog().

{
    Inkscape::Preferences *prefs = Inkscape::Preferences::get();
    if (RowHeightButton.get_active()) {
        prefs->setDouble("/dialogs/gridtiler/AutoRowSize", 20);
    } else {
        prefs->setDouble("/dialogs/gridtiler/AutoRowSize", -20);
    }
    RowHeightBox.set_sensitive ( !RowHeightButton.get_active());
}


Generated by  Doxygen 1.6.0   Back to index