Index: gui/components/gui_combobox.cc =================================================================== --- gui/components/gui_combobox.cc (revisión: 10309) +++ gui/components/gui_combobox.cc (copia de trabajo) @@ -390,7 +390,7 @@ return scr_size(bl.w + ti.w + br.w + D_H_SPACE, max(max(bl.h, ti.h), br.h)); } else { - return scr_size(max(bl.w + br.w + D_H_SPACE, sl.w), max(max(bl.h, ti.h), br.h)); + return scr_size(bl.w + br.w + sl.w - D_H_SPACE, max(max(bl.h, ti.h), br.h)); } } Index: gui/components/gui_scrolled_list.cc =================================================================== --- gui/components/gui_scrolled_list.cc (revisión: 10309) +++ gui/components/gui_scrolled_list.cc (copia de trabajo) @@ -69,7 +69,7 @@ item_list(container.get_components()) { container.set_table_layout(1,0); - container.set_margin( scr_size( D_H_SPACE, 0 ), scr_size( D_H_SPACE, 0 ) ); + container.set_margin( scr_size( D_H_SPACE, D_V_SPACE ), scr_size( D_H_SPACE, D_V_SPACE ) ); container.set_spacing( scr_size( D_H_SPACE, 0 ) ); set_component(&container); Index: gui/extend_edit.cc =================================================================== --- gui/extend_edit.cc (revisión: 10309) +++ gui/extend_edit.cc (copia de trabajo) @@ -156,9 +156,9 @@ // start filling cont_filter--------------------------------------------------------------------------------------------- // climate filter - gui_aligned_container_t *tbl_climate = cont_filter.add_table(2,0); - tbl_climate->new_component("Climate"); - tbl_climate->add_component(&cb_climates); + gui_aligned_container_t *tbl_climate_and_sorting = cont_filter.add_table(3,2); + tbl_climate_and_sorting->new_component("Climate"); + tbl_climate_and_sorting->add_component(&cb_climates, 2); cb_climates.add_listener(this); cb_climates.new_component(climate::MAX_CLIMATES); for(uint8 i=climate::desert_climate; i(i); } cb_climates.set_selection(0); - cont_filter.end_table(); // Sorting box - gui_aligned_container_t *tbl_sorting = cont_filter.add_table(3,0); - tbl_sorting->new_component("Sort by"); - tbl_sorting->add_component(&cb_sortedby); + tbl_climate_and_sorting->new_component("Sort by"); + tbl_climate_and_sorting->add_component(&cb_sortedby); sort_order.init(button_t::sortarrow_state, ""); sort_order.set_tooltip(translator::translate("hl_btn_sort_order")); sort_order.add_listener(this); sort_order.pressed = false; - tbl_sorting->add_component(&sort_order); + tbl_climate_and_sorting->add_component(&sort_order); cb_sortedby.add_listener(this); cb_sortedby.new_component(gui_sorting_item_t::BY_NAME_TRANSLATED); cb_sortedby.new_component(gui_sorting_item_t::BY_NAME_OBJECT);