Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the header bar floating over the content #18

Closed
marbetschar opened this issue Feb 8, 2020 · 3 comments · Fixed by #48
Closed

Make the header bar floating over the content #18

marbetschar opened this issue Feb 8, 2020 · 3 comments · Fixed by #48
Labels
enhancement New feature or request
Milestone

Comments

@marbetschar
Copy link
Owner

If possible, so we gain the red marked height and the app itself occupies less space on the screen:

Screenshot from 2020-02-08 11-01-30

@marbetschar marbetschar added the enhancement New feature or request label Aug 4, 2020
@marbetschar marbetschar added this to the 2.0.0 milestone Aug 4, 2020
@marbetschar
Copy link
Owner Author

Seems like Hdy.ApplicationWindow has no separate titlebar and one is expected to pack a headerbar inside. So we may gain this height by switching to libhandy.

To keep in mind: libhandy is only available on Odin.

Source: https://developer.puri.sm/projects/libhandy/unstable/HdyApplicationWindow.html

@marbetschar
Copy link
Owner Author

  • "HdyWindow allows to ... show titlebar above content by putting it into a GtkOverlay instead of GtkBox ..."
  • "HdyApplicationWindow is a GtkApplicationWindow subclass providing the same features as HdyWindow."

https://gnome.pages.gitlab.gnome.org/libhandy/HdyWindow.html

@hanaral
Copy link

hanaral commented Mar 4, 2021

Unless the headerbar is Gala territory, can't you overlay the content over the headerbar?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants