Closed glennular closed 3 years ago
using gtk_widget_set_size_request() is not a proper way because this call set a minimal size for widgets and they cannot be decreased after that
please check 814a378. i fixed setting splitter position in this commit
@v1cont yes your commit has resolved my issue. Thank you.
When trying to make a panel with two text areas the same size, I found the slitter was not going where it should. This is my first time looking at GTK, and think it may be due an ordering issue of the plug being linked in the a socket for the panel to draw, that the panel trying to set the splitter before the size of the text-panels are known.
here was my test code that did not work:
now with the PR the following will work:
Another way around this I found, if you wanted to make this Paned specific is to add the YadOptions to the YadNTabs struct and then set the WxH in the panel code.
Not sure if this is related to #87