Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TreeView width is not clamped #44

Closed
liquidev opened this issue Feb 20, 2021 · 7 comments
Closed

TreeView width is not clamped #44

liquidev opened this issue Feb 20, 2021 · 7 comments
Assignees
Labels
bug Something isn't working p:normal sidebar

Comments

@liquidev
Copy link
Collaborator

This allows you to stretch the view "backwards", beyond the window border, like so.

https://youtu.be/fPAJfX5w1w0

@budRich
Copy link
Contributor

budRich commented Feb 20, 2021

super short video demos like yours is excellent to illustrate visual issues like this. I bet this is an easy fix for @franko .

Sometimes 60 pictures per second for 5 seconds say more then 1000 words.

@budRich budRich added bug Something isn't working sidebar labels Feb 20, 2021
@franko
Copy link
Member

franko commented Feb 20, 2021

Thank you, this one should be easy to fix, right ?

@liquidev
Copy link
Collaborator Author

I can even fix this myself once I find some free time, so expect a PR coming today.

@liquidev
Copy link
Collaborator Author

@franko Unrelated, but how would I run Lite XL once it's built with ninja? Up to this point I've been relying on build-packages.sh to create the correct directory structure for me, but that's annoying if I ever need to prototype something. I tried running ./build/src/lite, but that seems to yield this error:

Error: [string "local core..."]:15: module 'core' not found:
	no field package.preload['core']
	no file '/home/daknus/Repositories/lite-xl/build/src/data/core/init.lua'
	no file '/home/daknus/Repositories/lite-xl/build/src/data/core.lua'
	no file '/usr/share/lua/5.2/core.lua'
	no file '/usr/share/lua/5.2/core/init.lua'
	no file '/usr/lib/lua/5.2/core.lua'
	no file '/usr/lib/lua/5.2/core/init.lua'
	no file './core.lua'
	no file '/home/daknus/.config/lite-xl/core.lua'
	no file '/home/daknus/.config/lite-xl/core/init.lua'
	no file '/usr/lib/lua/5.2/core.so'
	no file '/usr/lib/lua/5.2/loadall.so'
	no file './core.so'
stack traceback:
	[C]: in function 'require'
	[string "local core..."]:15: in function <[string "local core..."]:2>
	[C]: in function 'xpcall'
	[string "local core..."]:2: in main chunk

@franko
Copy link
Member

franko commented Feb 20, 2021

@liquidev just use:

bash dev-utils/run-local <build-dir>

to run with an "ephemeral" home directory. You can also add optional arguments after <build-dir>. The run-local script accept also the options:

  • -keep run the previously "install" of lite xl (if not used it will erase any previous user's configuration)
  • -global to use your real HOME directory

@liquidev
Copy link
Collaborator Author

Ah, cool. You should mention this in the readme.

@franko
Copy link
Member

franko commented Feb 21, 2021

Fixed in the master branch.

@franko franko closed this as completed Feb 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working p:normal sidebar
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants