I am working on an application in C with GTK3, in my app I have a layout like Rhythmbox, with a treeview on the left, on the right top 2 treeviews then right bottom 1 treeview, and they are all in paned views, so one big horrizontal paned view, with treeview on left, the right pane has a vertical paned view, in the top pane is another horizontal paned view with a treeview in each, then the bottom pane has a treeview. ALL of the treeviews are inside a scrolledwindow, so that the treeviews will scroll. Now the issue I'm having is I can't get anything to style correctly, the sizes are all jacked up, can anyone make a simple example of multiple treeviews in scrolled windows in paneviews like what I have? If need be I can post some of my code, I don't want to post too much because my app is too big right now to post the whole thing. I should note that when it comes to size I have everything default right now, I didn't set any sizes for anything except the main window, and I'm just not sure if I should be using size requests or what, when I've used glade in the past with python I never had this issue, but I'm trying to write my own GTK code this time. I've searched for tutorials for what I'm talking about, and I can't find anything, especially for C.

Could you rephrase the question?Your example seems overly detailed and repetious.

Take care

michael

Ok, sorry about the confusing question, let me simplify it, I have a paneview, originally I just had a treeview in each pane, however they would not scroll, when too much data was put in the treeview it just grew with no scroll bars, so I put the treeviews into scrolledwindows and the scrolledwindows into the paneview, however, now there are scrollbars, but the treeviews are tiny, here's a screenshot:

Well, it appears my issue seems to actually be in my grid layout, I had a grid layout in the main window to place everything, when I changed the grid layout to a box layout it fixed the issue, I just made it a box with a vertical orientation, and the menu bar I had to set to expand and fill to FALSE, (the reason it doesn't appear on my screenshot is Ubuntu's global menu bar).

Who is online

Users browsing this forum: Yahoo [Bot] and 6 guests

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum