diff options
| author | Denis Declara <declara91@gmail.com> | 2012-04-02 10:08:22 +0000 |
|---|---|---|
| committer | Denis Declara <declara91@gmail.com> | 2012-04-02 10:08:22 +0000 |
| commit | 13a67ac44b1120308c2fc607715ddf0cf3d516e9 (patch) | |
| tree | a7a9e601a504d697164bb3af3aa534fc37ede45d /src/ui/dialog/tile.cpp | |
| parent | Trunk merge (diff) | |
| download | inkscape-13a67ac44b1120308c2fc607715ddf0cf3d516e9.tar.gz inkscape-13a67ac44b1120308c2fc607715ddf0cf3d516e9.zip | |
Anchor widget now reads the last alignment from the settings. Anchor selection widget is also smaller now.
(bzr r11073.1.10)
Diffstat (limited to 'src/ui/dialog/tile.cpp')
| -rw-r--r-- | src/ui/dialog/tile.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/dialog/tile.cpp b/src/ui/dialog/tile.cpp index 9297b5154..ab3781630 100644 --- a/src/ui/dialog/tile.cpp +++ b/src/ui/dialog/tile.cpp @@ -732,9 +732,13 @@ GridArrangeTab::GridArrangeTab(ArrangeDialog *parent) TileBox.pack_start(SpinsHBox, false, false, MARGIN); + VertAlign = prefs->getInt("/dialogs/gridtiler/VertAlign", 1); + HorizAlign = prefs->getInt("/dialogs/gridtiler/HorizAlign", 1); // Anchor selection widget AlignLabel.set_label("Alignment:"); + AlignLabel.set_alignment(Gtk::ALIGN_LEFT, Gtk::ALIGN_CENTER); + AlignmentSelector.setAlignment(HorizAlign, VertAlign); AlignmentSelector.on_selectionChanged().connect(sigc::mem_fun(*this, &GridArrangeTab::Align_changed)); TileBox.pack_start(AlignLabel, false, false, MARGIN); TileBox.pack_start(AlignmentSelector, true, false, MARGIN); |
