support for auto resize in x and y axis#43
support for auto resize in x and y axis#43JoseConseco wants to merge 6 commits intoanuvyklack:mainfrom
Conversation
|
I am currently evaluating your PR in my setup and like it a lot. I encountered a bug where Also i am a bit confused by the presence of the autoboth option, my assumption in terms of api would be that if autowidth and autoheight are enabled, autoboth would not be needed?! |
|
I did not get any errors with set height, but it is based on 'original' set_width - where no round function is used. So I can only assume the value should be rounded before set_height is called... (btw. I get set_height on different line - so maybe you did not update the code?). |
|
So.. is this gonna get merged? |
The window dew was not active since war on ukraine started... |
|
I hope he's okay |
- Added `autoheight` and `autoboth` options to the configuration. - Implemented `autoheight` and `autoboth` functions in `calculate-layout.lua`. - Updated `config.lua` to include new options. - Modified `init.lua` to enable new options based on configuration. - Updated `api.lua` and `frame.lua` to support autoheight and autoboth resizing. Code by: [JoseConseco](https://github.com/JoseConseco) Implements: anuvyklack#43
- Added `autoheight` and `autoboth` options to the configuration. - Implemented `autoheight` and `autoboth` functions in `calculate-layout.lua`. - Updated `config.lua` to include new options. - Modified `init.lua` to enable new options based on configuration. - Updated `api.lua` and `frame.lua` to support autoheight and autoboth resizing. Code by: @JoseConseco Implements: anuvyklack#43
Bunch of AI code, but seems to work. maybe config 'autoboth' should be exposed slightly different manner, but for ease of implementation if enabled it will auto resize windows in both x and y axis.
Default settings for autoboth:
recording_20241229_151847.mp4