summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNicholas Bishop <nicholasbishop@gmail.com>2007-07-27 22:09:16 +0000
committernicholasbishop <nicholasbishop@users.sourceforge.net>2007-07-27 22:09:16 +0000
commit148de1d7314db747595a42fc0c7abaffd0a8d21e (patch)
treedd92e70c3e9f28d1489c973c06c068b568cded6e /src
parentFilter effects dialog: (diff)
downloadinkscape-148de1d7314db747595a42fc0c7abaffd0a8d21e.tar.gz
inkscape-148de1d7314db747595a42fc0c7abaffd0a8d21e.zip
Filter effects dialog:
* Changed drawing of vertical input bars to make them stick to the right side of the treeview. (bzr r3319)
Diffstat (limited to 'src')
-rw-r--r--src/ui/dialog/filter-effects-dialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/dialog/filter-effects-dialog.cpp b/src/ui/dialog/filter-effects-dialog.cpp
index 3fc4e0ec6..ca68667dc 100644
--- a/src/ui/dialog/filter-effects-dialog.cpp
+++ b/src/ui/dialog/filter-effects-dialog.cpp
@@ -715,11 +715,11 @@ bool FilterEffectsDialog::PrimitiveList::on_expose_signal(GdkEventExpose* e)
int vis_x, vis_y;
tree_to_widget_coords(vis.get_x(), vis.get_y(), vis_x, vis_y);
- text_start_x = rct.get_x() + row_count * fheight;
+ text_start_x = rct.get_x() + rct.get_width() - _connection_cell.get_text_width() * FPInputConverter.end;
for(int i = 0; i < FPInputConverter.end; ++i) {
_vertical_layout->set_text(FPInputConverter.get_label((FilterPrimitiveInput)i));
const int x = text_start_x + _connection_cell.get_text_width() * (i + 1);
- get_bin_window()->draw_rectangle(get_style()->get_white_gc(), true, x, vis_y, _connection_cell.get_text_width(), vis.get_height());
+ get_bin_window()->draw_rectangle(get_style()->get_bg_gc(Gtk::STATE_NORMAL), true, x, vis_y, _connection_cell.get_text_width(), vis.get_height());
get_bin_window()->draw_layout(get_style()->get_text_gc(Gtk::STATE_NORMAL), x, vis_y, _vertical_layout);
get_bin_window()->draw_line(darkgc, x, vis_y, x, vis_y + vis.get_height());
}