Skip to content

Commit 1320732

Browse files
committed
use bottom_margin etc instead of CSS padding
this fixes #41 and is a GTK issue
1 parent 8d3423a commit 1320732

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

data/stylus/style.styl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
.text-view {
1313
background-color: transparent;
14-
padding: 12px;
1514
color: inherit;
1615
}
1716

data/ui/window.ui

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@
4545
<object class="GtkTextView" id="text">
4646
<property name="editable">true</property>
4747
<property name="wrap-mode">word-char</property>
48+
<property name="top-margin">12</property>
49+
<property name="bottom-margin">12</property>
50+
<property name="left-margin">12</property>
51+
<property name="right-margin">12</property>
4852
<style>
4953
<class name="text-view"/>
5054
</style>

0 commit comments

Comments
 (0)