mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-22 16:37:28 +00:00
make gtk layout combobox smaller
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9322 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
b90881c010
commit
21b99b12d8
@ -1,3 +1,8 @@
|
||||
2004-11-29 John Spray <spray_john@users.sourceforge.net>
|
||||
|
||||
* GToolbar.C: Make layouts combobox not expand to full height
|
||||
of toolbar, it looks more like a combobox this way.
|
||||
|
||||
2004-11-26 John Spray <spray_john@users.sourceforge.net>
|
||||
|
||||
* FileDialogPrivate.[Ch]: use Gtk::FileChooser, add
|
||||
|
@ -79,15 +79,15 @@ GLayoutBox::GLayoutBox(LyXView & owner,
|
||||
// causes the first update()
|
||||
combo_.set_size_request(130,-1);
|
||||
|
||||
|
||||
combo_.set_data(
|
||||
gToolData,
|
||||
reinterpret_cast<void*>(&const_cast<FuncRequest &>(func)));
|
||||
|
||||
combo_.show();
|
||||
Gtk::VBox * vbox = Gtk::manage(new Gtk::VBox);
|
||||
vbox->pack_end(combo_, Gtk::PACK_EXPAND_PADDING);
|
||||
|
||||
Gtk::ToolItem * toolitem = Gtk::manage(new Gtk::ToolItem);
|
||||
toolitem->add(combo_);
|
||||
toolitem->add(*vbox);
|
||||
toolbar.append(*toolitem);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user