~danieljabailey/inkscape/arc_node_editor

« back to all changes in this revision

Viewing changes to src/ui/previewholder.cpp

  • Committer: tavmjong-free
  • Date: 2016-05-06 11:02:22 UTC
  • Revision ID: tavmjong@free.fr-20160506110222-eukbybu9l5nrxlg3
Prevent scrollbar overlay from covering swatches in GTK3 build. 
And some minor cleanup.

Show diffs side-by-side

added added

removed removed

Lines of Context:
340
340
    width = itemCount;
341
341
    height = 1;
342
342
 
 
343
#if GTK_CHECK_VERSION(3,16,0)
 
344
    // Disable overlay scrolling as the scrollbar covers up swatches.
 
345
    // For some reason this also makes the height 55px.
 
346
    ((Gtk::ScrolledWindow *)_scroller)->set_overlay_scrolling(false);
 
347
#endif
 
348
 
343
349
    if ( _anchor == SP_ANCHOR_SOUTH || _anchor == SP_ANCHOR_NORTH ) {
344
350
        Gtk::Requisition req;
345
351
#if GTK_CHECK_VERSION(3,0,0)