GithubHelp home page GithubHelp logo

Comments (11)

psifidotos avatar psifidotos commented on August 30, 2024
  1. If you close Latte and restart it the problem remains?
  2. If you make the thickness margin 0px. the problem remains after you restart Latte?

from applet-window-buttons.

buntupana avatar buntupana commented on August 30, 2024

1.- If you close Latte and restart it the problem remains?

scaling_2

Restarting solve the problem partially because the applet is keeping the pixel margins with the new resolution and it makes the buttons too small.

2.- If you make the thickness margin 0px. the problem remains after you restart Latte?

scaling_3

from applet-window-buttons.

psifidotos avatar psifidotos commented on August 30, 2024

Ok so this is not applet fault. The applet does not paint the buttons, the buttons are painted from each decoration used, the applet just provides the space in which the buttons must be painted. In your case the decoration used is Breeze, so I believe something breaks with Breeze.

I will leave it open in case any more findings are found.

from applet-window-buttons.

buntupana avatar buntupana commented on August 30, 2024

It would be really nice to have a relative size for the margins like in latte dock, in that way if I change resolution the buttons will have the same size. Or mabye have to option to have the buttons with the same size that we have in the window (I don't know if this is possible to implement)

from applet-window-buttons.

psifidotos avatar psifidotos commented on August 30, 2024

Having relative icon size based on the panel thickness it is possible, but that wouldn't solve the mentioned issue.

Having an option for the same size with the window decoration is not possible because decorations do not expose that.

from applet-window-buttons.

buntupana avatar buntupana commented on August 30, 2024

it wouldn't solve the issue but at least it will have the same size after restart latte dock :)

from applet-window-buttons.

psifidotos avatar psifidotos commented on August 30, 2024

try latest master... I introduced a button size percentage and at the same time checked out its behaviour when changing screen resolutions, it worked without issues...

image

from applet-window-buttons.

buntupana avatar buntupana commented on August 30, 2024

Cool, it works. Thank you so much. Btw, which decoration do you use?

from applet-window-buttons.

psifidotos avatar psifidotos commented on August 30, 2024

Breeze

from applet-window-buttons.

buntupana avatar buntupana commented on August 30, 2024

I've changed the decoration and after that I've changed again to Breeze and it works perfectly without the size problem. Now with that and your change it works perfectly.

Btw, which distribution do you use? Sorry to bother with such a lot of questions :D

from applet-window-buttons.

psifidotos avatar psifidotos commented on August 30, 2024

I use Opensuse Tumbleweed

from applet-window-buttons.

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.