-
Notifications
You must be signed in to change notification settings - Fork 50
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
Channel-list and Members containers size #67
Comments
can you try applying this? i believe it should be a little closer to what you would expect, but it might still be a little strange because GtkPaned's dont really like being placed within each other diff --git a/src/windows/mainwindow.cpp b/src/windows/mainwindow.cpp
index 4436785..edd485d 100644
--- a/src/windows/mainwindow.cpp
+++ b/src/windows/mainwindow.cpp
@@ -47,8 +47,10 @@ MainWindow::MainWindow()
m_chan_content_paned.pack1(m_channel_list);
m_chan_content_paned.pack2(m_content_members_paned);
- m_chan_content_paned.child_property_shrink(m_channel_list) = false;
- m_chan_content_paned.child_property_resize(m_channel_list) = false;
+ m_chan_content_paned.child_property_shrink(m_content_members_paned) = true;
+ m_chan_content_paned.child_property_resize(m_content_members_paned) = true;
+ m_chan_content_paned.child_property_shrink(m_channel_list) = true;
+ m_chan_content_paned.child_property_resize(m_channel_list) = true;
m_chan_content_paned.set_position(200);
m_chan_content_paned.show();
m_content_box.add(m_chan_content_paned);
@@ -56,8 +58,10 @@ MainWindow::MainWindow()
m_content_members_paned.pack1(m_content_stack);
m_content_members_paned.pack2(*member_list);
- m_content_members_paned.child_property_shrink(*member_list) = false;
- m_content_members_paned.child_property_resize(*member_list) = false;
+ m_content_members_paned.child_property_shrink(m_content_stack) = true;
+ m_content_members_paned.child_property_resize(m_content_stack) = true;
+ m_content_members_paned.child_property_shrink(*member_list) = true;
+ m_content_members_paned.child_property_resize(*member_list) = true;
int w, h;
get_default_size(w, h); // :s
m_content_members_paned.set_position(w - m_chan_content_paned.get_position() - 150); |
That works better now. Thanks |
ouwou
added a commit
that referenced
this issue
May 3, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Channel-list and Members containers don't resize automatically after window resizing. This makes abaddon annoying to use in tiling window managers.
Editing css didn't help and throws an error, when using "width".
The text was updated successfully, but these errors were encountered: