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

Dock Widgets expanded with Pen Palette and Layer Tree #1752

Open
dellus opened this issue Mar 27, 2024 · 2 comments
Open

Dock Widgets expanded with Pen Palette and Layer Tree #1752

dellus opened this issue Mar 27, 2024 · 2 comments

Comments

@dellus
Copy link

dellus commented Mar 27, 2024

LibreCAD 2.2.1 alpha 359 appimage on Puppylinux Fossapup

With the introduction of pen palette and layer tree the minimum width of the right side dock widgets has expanded from about 246 to 413 pixels on my 1200 x 1920 screen. If I switch off these two I can return to the smaller width.
This is a problem with smaller screens at the cost of drawing area. Maybe the developer had a modern large screen where this is not so much an issue.

@dongxuli-concord-design

I have set those two widgets to be hidden by default.

One thing might help is to use tabbed widgets.

@GSStnb
Copy link
Contributor

GSStnb commented Apr 1, 2024

From a clean install, LS ( alpha 369 ) starts up like shown in the attached screenshot (docks using most of the display). The Pen Wizard on top, Pen Pallette in the middle and Library Browser / Block List / Layer List / Layer Tree on the bottom.
LCDefault

The minumum width of the docks is determined by the Layer Tree, then the Pen Palette, It appears that the width is determined by the row of buttons on the respective docks. The Layer Tree has the most buttons, followed by the Pen Palette, etc. The Block List can be narrowed the most (excluding the command line).

I use tabbed widgets and the dock will expand to the widest enabled widget, even if it is to the "back"
The Layer Tree is a good alternative to the Layer List, but I agree with Dellus - the minimum width for the two docks are too wide. Can the single row of buttons be made into two rows?

sand1024 pushed a commit to sand1024/LibreCAD that referenced this issue Apr 26, 2024
dxli added a commit that referenced this issue Apr 28, 2024
… is disabled (#1763)

* pen toolbar actions (pick, apply, copy pen)

* fix deprecated role for table model(BackgroundColorRole)

* buil file fix after merge

* added action for synchronization of layer's pen with active pen in pen toolbar, so now it does not rely on PenPalette widget and it works event if widget is disabled.

* added action for synchronization of layer's pen with active pen in pen toolbar, so now it does not rely on PenPalette widget and it works event if widget is disabled.

* fix for #1759

* fix for #1752 - now pen palette and layer tree widgets are resized to support small screens.

* Update lc_widgetfactory.cpp

delete commented code

* Update rs_color.h

Fix merging errors

---------

Co-authored-by: sand1024 <sand1024@gmail.com>
Co-authored-by: Dongxu Li <dongxuli2011@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants