Reduce width of Fill/Stroke dialog

Bug #293358 reported by jpfle
4
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Wishlist
John Smith

Bug Description

The width of the right panel changes according to the used tools. But there's a minimum width and often it's too wide. I attach a screen shot of the "Fill and stroke" panel to illustrate it.

It would be great to be able to shrink the right panel as we want.

Tags: ui
Revision history for this message
jpfle (jpfle) wrote :
Revision history for this message
jpfle (jpfle) wrote :

In the previous attached screen shot, we see the minimum width of the right panel. I can't shrink it more.

Revision history for this message
ScislaC (scislac) wrote :

The minimum width is determined by the minimum width of any dialog that is pulled up in the dock. If you undock the Fill & Stroke Dialog, you will see that it can't be made any smaller in width. Also, if you were to open up the Align & Distribute dialog instead, you'd notice that the dock is smaller in width as it goes to that dialog's minimum width. So basically, if you want to keep the FIll & Stroke dialog up on screen, it will take up that much space whether it's docked or not. Does this explain what's going on for you?

Revision history for this message
jpfle (jpfle) wrote :

Yes, it explains. Thanks. But I still think that it would be great to be able to shrink the dock, with for example an horizontal scrollbar that appears in the bottom.

Changed in inkscape:
importance: Undecided → Wishlist
status: New → Confirmed
tags: added: ui
Revision history for this message
John Smith (john-smithi) wrote :

The min width of the Fill/Stroke dialog is currently determined by the width of the stroke markers combo boxes.

Attached patch reduces the Fill/Stroke dialog width by making the stroke marker font smaller (same size as the units menu).
Alternatively the marker names could be ellipsized.

Changed in inkscape:
assignee: nobody → John Smith (john-smithi)
status: Confirmed → In Progress
Revision history for this message
ScislaC (scislac) wrote :

I like the change. +1

Revision history for this message
su_v (suv-lp) wrote :

> Attached patch reduces the Fill/Stroke dialog width by
> making the stroke marker font smaller (…)

Nice idea :-)
(I had shortened the names of the stock markers as workaround to have a more compact initial view of 'Fill & Stroke', but I'll reconsider reverting those changes for my local builds if this patch gets committed…)

<off-topic>
> (…) (same size as the units menu).

The unit selector dropdown uses different font sizes in different places - wouldn't it be more consistent to use the same (smaller) font size for the unit selector e.g. in the tool controls bars, too?
I'm not sure what has priority (usability- or HIG-wise): using the same font size for all widgets with dropdown/popup menus per the toolbar/dialog, or use the same font size in every instance of the same widget if used in different contexts?
</off-topic>

> The min width of the Fill/Stroke dialog is currently determined
> by the width of the stroke markers combo boxes.

Often, the translated strings of widget labels are what actually cause the final width to be "wider" than expected (in the screenshot from comment #1, the minimal width was determined by the french translations of the labels of the tabs (this has been changed since, to use more compact translations); with German UI language, the translations for 'start-/mid-/end-marker' are what force a noticeably larger minimal width; etc.).

See also <https://bugs.launchpad.net/inkscape/+bug/973195/comments/4>

> Alternatively the marker names could be ellipsized.

Do you recall any specific reason you chose not to when asked about it earlier, in bug #973195 (comment #7-8)?

Revision history for this message
su_v (suv-lp) wrote :

Correction:
> > Alternatively the marker names could be ellipsized.
>
> Do you recall any specific reason you chose not to when asked about it earlier,
> in bug #973195 (comment #7-8)?

Actually, you already did - for marker names > 20 chars…

Revision history for this message
John Smith (john-smithi) wrote :

Committed to trunk as r11702.
Can ellipsize the marker names to be <20 chars if it helps.

summary: - The right panel is often too wide and not shrinkable
+ Reduce width of Fill/Stroke dialog
Changed in inkscape:
status: In Progress → Fix Committed
su_v (suv-lp)
Changed in inkscape:
milestone: none → 0.49
Bryce Harrington (bryce)
Changed in inkscape:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.