+ gtk_container_ set_border_ width (GTK_CONTAINER (tbl), 8) Maybe someone on the mailing list could clarify (or remembers previous discussions, possibly with bulia byak). When I had inquired about icons sizes for toolbar buttons in the past, I was told that buttons on the tool controls bar representing a 'state' (toggle buttons) originally had been intended to use a different (smaller) icons size then 'normal' buttons triggering actions (the gtk-icon-size 'inkscape- decoration' defaults to 12px if not explicitly changed in the system/user gtkrc file). + GtkWidget *button = sp_button_ new_from_ data( secondarySize, GtkWidget *button = sp_button_ new_from_ data( Inkscape: :ICON_SIZE_ DECORATION, Would it be possible to keep the same stop selected? With the current patch, the selected gradient stop is deselected after numerically changing the stop offset value (or pressing one of the spin buttons). use real radio switches (GtkRadioToolButton/GtkRadioButton (?)) to make sure that one button is always active. use real radio switches (GtkRadioToolBu tton/GtkRadioBu tton (?)) to make sure that one button is always active. add a check, and toggle both button states if one of them is deactivated, or With neither fill nor stroke selected, which property of the object will have the gradient applied?ĪFAICT the last used state (from the preferences (?)) is used, but the user has no obvious way to know in advance. With no gradient type selected, which type will be used? However, it is still possible to deactivate the current active button by clicking once on it, resulting in an inconsistent state with undefined behavior (to the user): When clicking on an inactive button, both button states in the group are toggled (to ensure that only one button is active). I was wondering about the two button groups (toggles) for new gradients (part of the existing controls bar): Note the absence of the "Edit." button (the Gradient Editor can be removed if all this functionality exists in the tool controls bar). Note, all of the features already exist, they just need to be updated in the code and hooked up in the toolbar. Buttons to Add & Delete stops (Insert & Delete keys respectively), the Stop Selector (which can be MUCH shorter, a single stop needs only a square of color, not a long rectangle), and the numeric Stop Offset widget (the slider makes no sense since you can slide the nodes directly on canvas). Following are stop controls from the broken gradient editor (as ~suv pointed out it's mostly broken due to issues with canvas interaction). Following that is a Reverse Gradient button (Shift+R in the gradient tool, but should have UI), obviously not a real inkscape icon. Repeat is the function from the Fill & Stroke dialog to allow None, Repeat, or Mirror options. The following changes get other existing options in the user's view. The 3rd gradient button is for Mesh gradients (apparently there will be a 4th as well for conical gradients), which exist in a branch currently. From a recent discussion (a few months back) on the devel-list, slightly updated text.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |