Giter Club home page Giter Club logo

Comments (6)

J-Dunn avatar J-Dunn commented on July 28, 2024

Seems the relevant code is here:
debugger/src/tpage.c

/* arguments */
    args_frame = gtk_frame_new(_("Command Line Arguments"));
    hbox = gtk_hbox_new(FALSE, 0);
    gtk_container_set_border_width(GTK_CONTAINER(hbox), 5);
    args_textview = gtk_text_view_new ();
    gtk_text_view_set_wrap_mode(GTK_TEXT_VIEW(args_textview), GTK_WRAP_CHAR);
    buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(args_textview));
    g_signal_connect(G_OBJECT(buffer), "changed", G_CALLBACK (on_arguments_changed), NULL);
    gtk_container_add(GTK_CONTAINER(hbox), args_textview);
    gtk_container_add(GTK_CONTAINER(args_frame), hbox);

I'm only getting the frame !

from geany-plugins.

J-Dunn avatar J-Dunn commented on July 28, 2024

LOL, these dumb "widgets" can shrink down so small that they no longer display their contents.

By coincidence, my F4 window was just the right size to have the frame display cleanly but to hide text element that it contains and without displaying a visible cursor. So all I had was the inactive frame I reported.

Having a lib of automatically resizing widgets is nice: as long as they resize in an intelligent and readable fashion.

In fact this window turns into a complete mess if it gets resized even smaller.

Is there a property to set a minimum height for these elements so that they don't start to overly on top of each other , dribble onto the status bar or loose their primary functionality , like text input?

from geany-plugins.

J-Dunn avatar J-Dunn commented on July 28, 2024

https://developer.gnome.org/gtk2/stable/GtkBox.html#gtk-box-pack-start

fill
TRUE if space given to child by the expand option is actually allocated to child , rather than just padding it. This parameter has no effect if expand is set to FALSE. A child is always allocated the full height of a GtkHBox and the full width of a GtkVBox. This option affects the other dimension

That does not seem to be happening to the hbox containing the textedit in question !

from geany-plugins.

Yanpas avatar Yanpas commented on July 28, 2024

Confirm, I can enter agruments, but when I run it - nothing happens
_2015-11-15_15-23-44
_2015-11-15_15-23-57

from geany-plugins.

Yanpas avatar Yanpas commented on July 28, 2024

Seems like my problem differs... I'll open new report

from geany-plugins.

b4n avatar b4n commented on July 28, 2024

@J-Dunn the problem is that Geany's bottom pane, where the debugger tab is located, is set to allow shrinking smaller than what the widgets in it need. You then see the effects of under-allocation. In Geany this was done on purpose so you can hide the bottom panel completely, or make it as small as you like no matter what.

I'm not sure what the debugger plugin can do here, but maybe try and resize the bottom pane to a more sensible size when it loads or something, so it is initially in an usable state.

from geany-plugins.

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.