mirror of
https://gitlab.freedesktop.org/pipewire/helvum
synced 2026-03-15 03:26:10 +08:00
css: Improve padding of node title and ports
This commit is contained in:
@@ -39,9 +39,12 @@ graphview {
|
|||||||
background-color: @view_bg_color;
|
background-color: @view_bg_color;
|
||||||
}
|
}
|
||||||
|
|
||||||
port {
|
node label.heading {
|
||||||
padding-top: 3px;
|
padding: 4px;
|
||||||
padding-bottom: 3px;
|
}
|
||||||
|
|
||||||
|
port label {
|
||||||
|
padding: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
port-handle {
|
port-handle {
|
||||||
|
|||||||
@@ -60,6 +60,8 @@ mod imp {
|
|||||||
klass.set_layout_manager_type::<gtk::BoxLayout>();
|
klass.set_layout_manager_type::<gtk::BoxLayout>();
|
||||||
|
|
||||||
klass.bind_template();
|
klass.bind_template();
|
||||||
|
|
||||||
|
klass.set_css_name("node");
|
||||||
}
|
}
|
||||||
|
|
||||||
fn instance_init(obj: &glib::subclass::InitializingObject<Self>) {
|
fn instance_init(obj: &glib::subclass::InitializingObject<Self>) {
|
||||||
|
|||||||
@@ -34,4 +34,3 @@
|
|||||||
</child>
|
</child>
|
||||||
</template>
|
</template>
|
||||||
</interface>
|
</interface>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user