Giter VIP home page Giter VIP logo

Comments (7)

GeopJr avatar GeopJr commented on July 19, 2024 1

You probably want to change these two to something like 800

Tuba/data/ui/views/base.ui

Lines 161 to 162 in f702912

<property name="maximum_size">670</property>
<property name="tightening_threshold">670</property>

Keep in mind that you are reaching an unsupported territory. Styles, widgets and layouts have been made for the default values and Tuba might not look quite right. You can edit it without recompiling Tuba by using gresource extract and glib-compile-resources but likewise, no further support will be given and it might get overwritten or break future Tuba releases.

image

from tuba.

bragefuglseth avatar bragefuglseth commented on July 19, 2024

The reason this has happened is likely because the sidebar has gotten narrower, which has made the content view so wide that it goes out of the full-width mode. This has most likely changed once again in the most recent release, 0.5.0. I imagine the only potential solution to this is to adjust the point at which the app enters/exits the full-width mode.

from tuba.

algernon avatar algernon commented on July 19, 2024

Is there a way to adjust that breakpoint? Is it something set by Tuba, or something inherited from GTK/libadwaita/whatever-is-responsible?

If it is set by Tuba, would it be possible to make it configurable? I'm happy to try my hands at implementing that, but would need a pointer to where to start looking for it in the first place.

from tuba.

bragefuglseth avatar bragefuglseth commented on July 19, 2024

This breakpoint is managed by Tuba. If it’s a problem, it should be solved by default, for everyone. It’s not worth spending a preference on.

from tuba.

algernon avatar algernon commented on July 19, 2024

Awesome, then it's easier to fix! I think it would make sense to have full-width toots when the Tuba window half-width (or smaller), and start doing the card-like stuff when it is bigger? That would certainly work for me. It might not for screens wider than mine (I'm at 1920x1080), which is why I thought it might make sense to make it a preference.

To be honest, I'd be fine with having it stay the way it is, as long as I can override the breakpoint somehow, without recompiling Tuba.

In the meantime, where is it in Tuba? I'd like to patch it for myself quickly, until a proper solution is found. O:)

from tuba.

algernon avatar algernon commented on July 19, 2024

Thank you! I understand it's unsupported territory, and I'm fine with that. Now that I know where to look, and what to change, I can keep my changes updated if need be.

As far as I'm concerned, this resolves my issue, so you can close it if this isn't something you want to change. I'm happy with the workaround, even if it's unsupported territory.

from tuba.

algernon avatar algernon commented on July 19, 2024

I just upgraded to Tuba 0.5.0, and this issue is no longer present at the sizes I use Tuba at.

from tuba.

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.