application/window.c

changeset 45
ab71409644b0
parent 40
af5c2bfe0f21
equal deleted inserted replaced
44:473954dc6b74 45:ab71409644b0
55 55
56 wdata->progress = ui_int_new(obj->ctx, "progress"); 56 wdata->progress = ui_int_new(obj->ctx, "progress");
57 57
58 // navigation bar 58 // navigation bar
59 59
60 ui_hbox(obj, .fill = UI_OFF, .margin = 8) { 60 ui_hbox(obj, .fill = UI_OFF, .margin = 8, .spacing = 8) {
61 ui_button(obj, .icon = UI_ICON_GO_BACK, .onclick = action_go_back); 61 ui_hbox(obj, .fill = UI_OFF, .style_class="linked") {
62 ui_button(obj, .icon = UI_ICON_GO_FORWARD, .onclick = action_go_forward); 62 ui_button(obj, .icon = UI_ICON_GO_BACK, .onclick = action_go_back);
63 63 ui_button(obj, .icon = UI_ICON_GO_FORWARD, .onclick = action_go_forward);
64 ui_label(obj, .label = " "); // replace when we have a ui_space widget 64 }
65 65
66 ui_path_textfield(obj, .fill = UI_ON, .getpathelm = dav_get_pathelm, .onactivate = action_path_selected, .varname = "path"); 66 ui_path_textfield(obj, .fill = UI_ON, .getpathelm = dav_get_pathelm, .onactivate = action_path_selected, .varname = "path");
67 67
68 ui_progressspinner(obj, .value = wdata->progress); 68 ui_progressspinner(obj, .value = wdata->progress);
69 } 69 }

mercurial