popfix icon indicating copy to clipboard operation
popfix copied to clipboard

how can we make the popup window size dynamic

Open cambp4 opened this issue 4 years ago • 3 comments

hi, I am using your lsp plugin but I thought this was more apropriate to post here, we can set the size of a window but when the window is too small the popup does not appear. can we set some sort of dynamic layout so that it would still appear but smaller ? or can we set a size relative to the size of the window that is currently open ?

cambp4 avatar Dec 22 '20 18:12 cambp4

Hi, I realised the problem few days back while using large font size. Sometimes absolute size is not what we want. It is not currently supported but I am working on it. Mostly it should take a day or two. My idea is to provide an option to specify whether provided dimensions are absolute or relative (in percentage) based on that it would draw the popup.

RishabhRD avatar Dec 22 '20 18:12 RishabhRD

@cambp4 I would add the PR tomorrow. You can track the progress there. Hopefully PR should be merged in few hours.

RishabhRD avatar Dec 22 '20 18:12 RishabhRD

nice :) your project is super cool, I am going to follow it closely

cambp4 avatar Dec 23 '20 05:12 cambp4