Comments (2)
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.
That works better now. Thanks
from abaddon.
Related Issues (20)
- [Bug] Bot displayed as offline while online HOT 8
- Voice message playback support
- Make unread indicators circles
- servers don't load correctly [BUG, i think.] HOT 10
- getting errors when trying to compile from source HOT 15
- Failing to build in Arch. HOT 4
- Failing to build using Debian HOT 6
- How to cancel a reply? HOT 2
- Installer for windows HOT 1
- Could not load pixbuff - Windows HOT 1
- Not all servers show up HOT 3
- Cookies/Build number could not be fetched HOT 4
- Hypesquad Bravery icon is the same as Hypesquad Brilliance icon HOT 1
- New attachments system
- Cant add reactions if emoji was first seen via REACTION_ADD
- Feature request: QR code login HOT 8
- Coredump on connecting to voice channel HOT 8
- Imported target "spdlog::spdlog" includes non-existent path HOT 4
- "awacs" audio driver on openbsd ppc doesn't work HOT 2
- I would like to say thank you. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from abaddon.