Skip to content

Commit

Permalink
feat: Adding button ui to copy the exported curl output
Browse files Browse the repository at this point in the history
  • Loading branch information
AlphaTechnolog committed Oct 29, 2024
1 parent 7ba1ea8 commit 4567ea7
Showing 1 changed file with 35 additions and 9 deletions.
44 changes: 35 additions & 9 deletions data/ui/code_export_pane.blp
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,41 @@ template $CarteroCodeExportPane: $CarteroBaseExportPane {
hexpand: true;
vexpand: true;

GtkSource.View view {
top-margin: 10;
bottom-margin: 10;
left-margin: 10;
right-margin: 10;
smart-backspace: true;
monospace: true;
buffer: buffer;
editable: false;
Gtk.Overlay {
vexpand: true;
hexpand: true;

GtkSource.View view {
left-margin: 10;
right-margin: 10;
top-margin: 10;
bottom-margin: 10;
smart-backspace: true;
monospace: true;
buffer: buffer;
editable: false;
}

[overlay]
Gtk.Button {
valign: end;
halign: end;
margin-end: 10;
margin-bottom: 10;

Gtk.Box {
orientation: horizontal;
spacing: 6;

Image {
icon-name: "edit-copy-symbolic";
}

Label {
label: "Copy";
}
}
}
}
}
}
Expand Down

0 comments on commit 4567ea7

Please sign in to comment.