Giter VIP home page Giter VIP logo

Comments (2)

ouwou avatar ouwou commented on May 20, 2024

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);

from abaddon.

BiFotLy avatar BiFotLy commented on May 20, 2024

That works better now. Thanks

from abaddon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.