Re: gtkmm4: Box::pack_start()/pack_end()



On 2017-04-28 09:08, Murray Cumming wrote:
On Fri, 2017-04-28 at 08:31 +0200, Kjell Ahlstedt wrote:
 Why does Gtk::PackOptions affect only horizontal expansion and
alignment? Look for instance at one of the 3  TreeView demo programs.
The ScrolledWindow is expanded horizontally but not vertically.
Before the expand and fill parameters were removed from
gtk_box_pack_start() the ScrolledWindow was expanded in both
directions.
Maybe our pack_start/end() implementation should set hexpand/halign or
vexpand/valign depending on the orientation, or always set both.

I vote for always setting both, if we will keep Gtk::PackOptions.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]