summaryrefslogtreecommitdiff
path: root/src/gtkext/hexview.css
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2024-05-24 04:41:11 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2024-05-24 04:41:11 (GMT)
commit4da5e662a7544e8ec0b440c322f934dd8c5e4058 (patch)
tree936894dd8344348224c023dc4caab00bdcf0c306 /src/gtkext/hexview.css
parent6decc8c40dfaf7cb04156f1ab233cd856ed06b37 (diff)
Measure and allocate space from the GtkHexView widget code.
Diffstat (limited to 'src/gtkext/hexview.css')
-rw-r--r--src/gtkext/hexview.css10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/gtkext/hexview.css b/src/gtkext/hexview.css
index fdde1cc..9725509 100644
--- a/src/gtkext/hexview.css
+++ b/src/gtkext/hexview.css
@@ -17,13 +17,19 @@ GtkHexView > :not(scrollbar) {
}
-GtkHexView > :nth-last-child(2) {
+/* ASCII */
+
+GtkHexView.with_vscroll > :nth-last-child(2),
+GtkHexView.without_vscroll > :nth-last-child(1) {
padding-right: 4px;
}
-GtkHexView > :nth-last-child(4) {
+/* Offset */
+
+GtkHexView.with_vscroll > :nth-last-child(4),
+GtkHexView.without_vscroll > :nth-last-child(3) {
border-right: 1px solid @borders;