Git Product home page Git Product logo

Comments (3)

freakboy3742 avatar freakboy3742 commented on August 28, 2024

Thanks for the report.

The odd spacing on the GTK toolbar is a function of a bug in the layout algorithm.

I was aware of the existence of HeaderBar, but given that it was added in GTK 3.10, I wasn't sure if it was widely used or encouraged as a device (it isn't available at all on Ubuntu 12.04, which is what I've been using to date for my Ubuntu testing).

If HeaderBar is the preferred mechanism for "easy access app-level commands", then a change is definitely called for, since "The Toga Way" is to use native-appropriate widgets.

from toga.

Mechazawa avatar Mechazawa commented on August 28, 2024

I guess the best thing to do then is check the GTK version and fall back
to the non-HeaderBar version if needed. Another possibility is to fall
back to what Transmission-GTK[1] does (I have no clue what to call it).

[1] http://i.imgur.com/puq3oCV.png

On Sun, 2014-08-10 at 02:21 -0700, Russell Keith-Magee wrote:

Thanks for the report.

The odd spacing on the GTK toolbar is a function of a bug in the
layout algorithm.

I was aware of the existence of HeaderBar, but given that it was added
in GTK 3.10, I wasn't sure if it was widely used or encouraged as a
device (it isn't available at all on Ubuntu 12.04, which is what I've
been using to date for my Ubuntu testing).

If HeaderBar is the preferred mechanism for "easy access app-level
commands", then a change is definitely called for, since "The Toga
Way" is to use native-appropriate widgets.


Reply to this email directly or view it on GitHub.

from toga.

freakboy3742 avatar freakboy3742 commented on August 28, 2024

Closing this issue due to the repository split; reopening as pybee/toga-gtk#1.

from toga.

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.