Giter Site home page Giter Site logo

Comments (2)

numirias avatar numirias commented on June 23, 2024
  1. grow/shrink the window

You're probably growing/shrinking the window on the horizontal axis, not on the vertical one. reset size() only resets on the orientation of the current window with respect to its parent. If you're growing said window vertically instead, reset_size() should work as expected.

The point here is that we need to guess whether resetting the size is meant to be applied vertically or horizontally.

I think I'll solve this by assuming that if reset_size() is called on a window which is already relatively sized, it'll try to call reset_size() on its parent instead.

(In other words: Right now we have grow_height and grow_width, so we'd also need reset_width and reset_height. To avoid adding more commands I'm just gonna make reset_size to the closest parent that is absolutely sized.)

from qtile-plasma.

dhrunia avatar dhrunia commented on June 23, 2024

yes you are right I was growing on the horizontal axis

from qtile-plasma.

Related Issues (17)

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.