diff --git a/src/stage/timeline/timeline-layout.cpp b/src/stage/timeline/timeline-layout.cpp index f55048cc1..8eb44a980 100644 --- a/src/stage/timeline/timeline-layout.cpp +++ b/src/stage/timeline/timeline-layout.cpp @@ -85,7 +85,7 @@ namespace timeline { // make the ZoomWindow react on changes to the horizontal scrollbar pos bodyCanvas_.get_hadjustment()->property_value().signal_changed().connect( sigc::bind(sigc::mem_fun(*this, &TimelineLayout::syncZoomWindow) - ,bodyCanvas_.get_focus_hadjustment())); + ,bodyCanvas_.get_hadjustment())); // make the ZoomWindow react on changes to the window geometry bodyCanvas_.signal_size_allocate().connect( sigc::mem_fun(*this, &TimelineLayout::sizeZoomWindow)); @@ -191,7 +191,7 @@ cout<<"|!| zoom-scroll pos="<attach (nameTODO_, 0,0, 2,1); this->attach (treeTODO_, 0,1, 1,1); attachDirectContent(); - + this->property_expand() = false; // do not expand to fill this->show_all(); } @@ -87,11 +89,9 @@ namespace timeline { : Gtk::Grid{} , ctrlTODO_{"💡"} { - ctrlTODO_.set_xalign (0.0); + ctrlTODO_.set_xalign (0.3); ctrlTODO_.set_yalign (0.5); this->attach (ctrlTODO_, 0,0, 1,1); - // dynamically grab any available additional space - ctrlTODO_.property_expand() = true; this->show_all(); } diff --git a/wiki/thinkPad.ichthyo.mm b/wiki/thinkPad.ichthyo.mm index ea92fbfdf..c50988b3c 100644 --- a/wiki/thinkPad.ichthyo.mm +++ b/wiki/thinkPad.ichthyo.mm @@ -43497,8 +43497,8 @@ - - + + @@ -43507,6 +43507,9 @@ + + + @@ -43516,6 +43519,196 @@ + + + + + + + + + + + + + + + + + + + + + +

+ im nächsten Zyklus wird das aber als Head-content gewertet ⟹ body-content wird erhöht +

+ +
+
+ + + + + + + + + + +

+ damals war ich zufrieden, sobald es „halbwegs“ funktioniert hat +

+ +
+ + + + + +
    +
  • + erster Draft ab718ed6aa9d
    hat nicht funktioniert, vmtl da ich letztlich auf widget.get_allocation().hight() aufgesetzt habe, und das kann initial noch null sein +
  • +
  • + überarbeitet ab718ed6aa9db
    dann habe ich rein auf Basis der einzelnen Zellen einen denfensiven Berechnungsweg verwendet: nimm MAX(preferred_height, reale Allokation); habe dies aber nicht angepaßt auf mehrere Kind-Tracks, oder vielleicht doch? oder die Logik verkehrt herum?? +
  • +
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+ z.B. in (0,1) = Struktur-Graph +

+ +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+   /** Hooks up an adjustment to focus handling in a container, so when a child +

+

+    * of the container is focused, the adjustment is scrolled to show that +

+

+    * widget. This function sets the horizontal alignment. +

+

+    * See Gtk::ScrolledWindow::get_hadjustment() for a typical way of obtaining +

+

+    * the adjustment and set_focus_vadjustment() for setting +

+

+    * the vertical adjustment. +

+

+    * +

+

+    * The adjustments have to be in pixel units and in the same coordinate +

+

+    * system as the allocation for immediate children of the container. +

+

+    * +

+

+    * @param adjustment An adjustment which should be adjusted when the focus is +

+

+    * moved among the descendents of @a container. +

+

+    */ +

+

+   void set_focus_hadjustment(const Glib::RefPtr<Adjustment>& adjustment); +

+ +
+
+ + + + + + + + + +