application/settings.c

changeset 75
73c8a3780c72
parent 74
4466ebbd9fd5
child 76
641dcc79e0ef
--- a/application/settings.c	Tue Oct 29 20:30:00 2024 +0100
+++ b/application/settings.c	Sun Nov 10 09:12:30 2024 +0100
@@ -677,9 +677,7 @@
                         ui_scrolledwindow(obj, .hexpand = TRUE, .vexpand = TRUE, .subcontainer = UI_CONTAINER_NO_SUB) {
                             ui_grid(obj, .margin = 10, .columnspacing = 10, .rowspacing = 10) {
                                 ui_llabel(obj, .label = "Name");
-                                ui_hbox0(obj) {
-                                    ui_textfield(obj, .value = wdata->repo_name, .width = 15);
-                                }
+                                ui_textfield(obj, .value = wdata->repo_name, .width = 15);
                                 ui_newline(obj);
                                 ui_llabel(obj, .label = "URL");
                                 ui_textfield(obj, .value = wdata->repo_url, .hexpand = TRUE);
@@ -689,9 +687,7 @@
                                 ui_newline(obj);
                                 ui_hbox(obj, .spacing = 4, .colspan = 2) {
                                     ui_combobox(obj, .list = wdata->repo_credentials);
-                                    ui_hbox0(obj) {
-                                        ui_button(obj, .label = "New Credentials", .onclick = credentials_new);
-                                    }
+                                    ui_button(obj, .label = "New Credentials", .onclick = credentials_new);
                                 }
                                 ui_newline(obj);
                                 ui_expander(obj, .spacing = 10, .colspan = 2, .label = "Unencrypted User/Password", .margin = 10) {
@@ -806,19 +802,13 @@
                 
                 ui_grid(obj, .columnspacing = 30, .rowspacing = 10) {
                     ui_llabel(obj, .label = "Identifier");
-                    ui_hbox0(obj) {
-                        ui_textfield(obj, .value = wdata->key_name, .groups = UI_GROUPS(SETTINGS_STATE_KEYS_SELECTED));
-                    }
+                    ui_textfield(obj, .value = wdata->key_name, .groups = UI_GROUPS(SETTINGS_STATE_KEYS_SELECTED));
                     ui_newline(obj);
                     ui_llabel(obj, .label = "Type");
-                    ui_hbox0(obj) {
-                        ui_textfield(obj, .value = wdata->key_type, .groups = UI_GROUPS(SETTINGS_STATE_DISABLED));
-                    }
+                    ui_textfield(obj, .value = wdata->key_type, .groups = UI_GROUPS(SETTINGS_STATE_DISABLED));
                     ui_newline(obj);
                     ui_llabel(obj, .label = "File");
-                    ui_hbox0(obj) {
-                        ui_textfield(obj, .value = wdata->key_file, .groups = UI_GROUPS(SETTINGS_STATE_KEYS_SELECTED));
-                    }
+                    ui_textfield(obj, .value = wdata->key_file, .groups = UI_GROUPS(SETTINGS_STATE_KEYS_SELECTED));
                 }
             }
         }

mercurial