[libadwaita/antoniof-main-patch-69158] about-window: Advise against copying hack
- From: António Fernandes <antoniof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/antoniof-main-patch-69158] about-window: Advise against copying hack
- Date: Sat, 9 Jul 2022 18:35:04 +0000 (UTC)
commit eef5e4f1b4abac738d19845cb7c5300c8de30f31
Author: António Fernandes <antoniojpfernandes gmail com>
Date: Sat Jul 9 18:35:02 2022 +0000
about-window: Advise against copying hack
src/adw-about-window.c | 1 +
src/stylesheet/widgets/_misc.scss | 1 +
2 files changed, 2 insertions(+)
---
diff --git a/src/adw-about-window.c b/src/adw-about-window.c
index 7fa739a7..e907e909 100644
--- a/src/adw-about-window.c
+++ b/src/adw-about-window.c
@@ -356,6 +356,7 @@ string_is_not_empty (AdwAboutWindow *self,
return string && string[0];
}
+/* WARNING: Don't copy into your app. This is a hack which hardcodes pixes. */
static char *
get_headerbar_name (AdwAboutWindow *self,
double value)
diff --git a/src/stylesheet/widgets/_misc.scss b/src/stylesheet/widgets/_misc.scss
index 3d35a672..dd5382c8 100644
--- a/src/stylesheet/widgets/_misc.scss
+++ b/src/stylesheet/widgets/_misc.scss
@@ -104,6 +104,7 @@ window.about {
.main-page {
scrollbar.vertical {
// Keep in sync with header bar height
+ // WARNING: Don't copy into your app. This is a hack which hardcodes pixes.
margin-top: 47px;
background: none;
box-shadow: none;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]