[gnome-control-center/gbsneto/minor-cleanups-pt1: 4/12] notifications: Adjust style of notifications dialog
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/gbsneto/minor-cleanups-pt1: 4/12] notifications: Adjust style of notifications dialog
- Date: Fri, 21 Jan 2022 16:13:23 +0000 (UTC)
commit f23d876dc287a0c53fcb9b01159fcd854e5213bb
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Fri Jan 21 11:47:24 2022 -0300
notifications: Adjust style of notifications dialog
Add margins around it, make the titlebar flat.
See https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1587
panels/notifications/cc-app-notifications-dialog.ui | 18 +++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)
---
diff --git a/panels/notifications/cc-app-notifications-dialog.ui
b/panels/notifications/cc-app-notifications-dialog.ui
index 9af4a3a63..9f6217f5b 100644
--- a/panels/notifications/cc-app-notifications-dialog.ui
+++ b/panels/notifications/cc-app-notifications-dialog.ui
@@ -1,17 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="CcAppNotificationsDialog" parent="GtkDialog">
- <property name="width_request">360</property>
+ <property name="width_request">350</property>
+ <property name="resizable">False</property>
<property name="modal">True</property>
+ <child type="titlebar">
+ <object class="GtkHeaderBar">
+ <property name="show-title-buttons">True</property>
+ <style>
+ <class name="flat" />
+ </style>
+ </object>
+ </child>
<child>
<object class="GtkBox">
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
+ <property name="margin-top">12</property>
+ <property name="margin-bottom">36</property>
+ <property name="margin-start">36</property>
+ <property name="margin-end">36</property>
<child>
<object class="GtkListBox" id="main_listbox">
<property name="selection_mode">none</property>
<property name="show-separators">True</property>
<property name="activate_on_single_click">False</property>
+ <style>
+ <class name="boxed-list" />
+ </style>
<child>
<object class="GtkListBoxRow">
<property name="width_request">100</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]