~mil/nominatim-gui-scripts

27f5800427380349825951ac910c1f9cb61ab15d — Miles Alan 1 year, 5 months ago d6ce8d7
Styling of widget; add padding; make searches take available space
1 files changed, 3 insertions(+), 2 deletions(-)

M nominatim.sh
M nominatim.sh => nominatim.sh +3 -2
@@ 119,7 119,8 @@ run() {

  gtkq "gtk_server_define gtk_box_new NONE WIDGET 2 ENUM INT"
  BOX="$(gtke gtk_box_new 1 20)"
  gtkq "gtk_box_pack_start $BOX $SEARCHA_TABLE 1 0 0"
  gtkq "gtk_container_set_border_width $BOX 20"
  gtkq "gtk_box_pack_start $BOX $SEARCHA_TABLE 1 1 0"
  gtkq "gtk_box_pack_end $BOX $GO_BUTTON 0 0 0"

  if [ $NENTRIES = 2 ]; then


@@ 130,7 131,7 @@ run() {
    SEARCHB_LIST="$(echo $SEARCHB | cut -d' ' -f3)"
    SEARCHB_BUTTON="$(echo $SEARCHB | cut -d' ' -f4)"
    SEARCHB_ENTRY="$(echo $SEARCHB | cut -d' ' -f5)"
    gtkq "gtk_box_pack_end $BOX $SEARCHB_TABLE 1 0 0"
    gtkq "gtk_box_pack_end $BOX $SEARCHB_TABLE 1 1 0"
  fi

  WIN="$(gtke "gtk_window_new 0")"