-
-
Notifications
You must be signed in to change notification settings - Fork 407
Move highlighting and constraints from 'Shape Configuration' popover to new 'Shaper Extra' popover #1524
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
Open
anesthetice
wants to merge
4
commits into
flxzt:main
Choose a base branch
from
anesthetice:shaper-config-split
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+252
−180
Open
Move highlighting and constraints from 'Shape Configuration' popover to new 'Shaper Extra' popover #1524
Changes from 1 commit
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <?xml version="1.0" encoding="UTF-8" ?> | ||
| <interface> | ||
| <template class="RnShaperPage" parent="GtkWidget"> | ||
| <property name="layout-manager"> | ||
|
|
@@ -36,6 +36,17 @@ | |
| </style> | ||
| </object> | ||
| </child> | ||
| <child> | ||
| <object class="GtkMenuButton" id="shaperextra_menubutton"> | ||
| <property name="icon-name">misc-menu-symbolic</property> | ||
| <property name="direction">left</property> | ||
| <property name="tooltip_text" translatable="yes">Shaper Extra</property> | ||
| <property name="popover">shaperextra_popover</property> | ||
| <style> | ||
| <class name="flat" /> | ||
| </style> | ||
| </object> | ||
| </child> | ||
| </object> | ||
| </child> | ||
| <child> | ||
|
|
@@ -126,35 +137,6 @@ | |
| </object> | ||
| </child> | ||
|
|
||
| <!-- Highlighting --> | ||
| <child> | ||
| <object class="AdwPreferencesGroup"> | ||
| <property name="title" translatable="yes">Highlighting</property> | ||
| <child> | ||
| <object class="AdwSwitchRow" id="highlight_mode_row"> | ||
| <property name="title" translatable="yes">Highlight-Mode</property> | ||
| <property name="subtitle" translatable="yes">Fade active color</property> | ||
| </object> | ||
| </child> | ||
| <child> | ||
| <object class="AdwSpinRow" id="highlight_opacity_row"> | ||
| <property name="title" translatable="yes">Highlight-Opacity</property> | ||
| <property name="subtitle" translatable="yes">Modify the highlight opacity (%)</property> | ||
| <property name="adjustment"> | ||
| <object class="GtkAdjustment"> | ||
| <property name="lower">0</property> | ||
| <property name="upper">100</property> | ||
| <property name="value">50</property> | ||
| <property name="step-increment">1</property> | ||
| </object> | ||
| </property> | ||
| <property name="numeric">true</property> | ||
| <property name="digits">0</property> | ||
| </object> | ||
| </child> | ||
| </object> | ||
| </child> | ||
|
|
||
| <!-- Smooth options --> | ||
| <child> | ||
| <object class="AdwPreferencesGroup" id="smoothstyle_group"> | ||
|
|
@@ -234,49 +216,121 @@ | |
| </child> | ||
| </object> | ||
| </child> | ||
| </object> | ||
| </child> | ||
| </object> | ||
|
|
||
| <!-- Constraints --> | ||
| <!-- Shaper Extra --> | ||
| <object class="GtkPopover" id="shaperextra_popover"> | ||
| <child> | ||
| <object class="GtkBox"> | ||
| <property name="orientation">vertical</property> | ||
| <property name="margin-top">6</property> | ||
| <property name="margin-bottom">6</property> | ||
| <property name="margin-start">6</property> | ||
| <property name="margin-end">6</property> | ||
| <property name="spacing">12</property> | ||
| <property name="width-request">300</property> | ||
| <child> | ||
| <object class="AdwPreferencesGroup"> | ||
| <property name="title" translatable="yes">Constraints</property> | ||
| <object class="GtkBox"> | ||
| <child> | ||
| <object class="GtkListBox"> | ||
| <property name="width-request">300</property> | ||
| <property name="selection-mode">none</property> | ||
| <object class="GtkLabel"> | ||
| <property name="label" translatable="yes">Shaper Extra</property> | ||
|
||
| <property name="hexpand">true</property> | ||
| <property name="halign">center</property> | ||
| <style> | ||
| <class name="content" /> | ||
| <class name="medium" /> | ||
| <class name="title-3" /> | ||
| </style> | ||
| <child> | ||
| <object class="AdwSwitchRow" id="constraint_enabled_row"> | ||
| <property name="title" translatable="yes">Enabled</property> | ||
| <property name="subtitle" translatable="yes">Hold Ctrl to temporarily enable/disable | ||
| constraints when this switch is off/on</property> | ||
| </object> | ||
| </child> | ||
| <child> | ||
| <object class="AdwSwitchRow" id="constraint_one_to_one_row"> | ||
| <property name="title" translatable="yes">1:1</property> | ||
| </object> | ||
| </child> | ||
| <child> | ||
| <object class="AdwSwitchRow" id="constraint_three_to_two_row"> | ||
| <property name="title" translatable="yes">3:2</property> | ||
| </object> | ||
| </child> | ||
| <child> | ||
| <object class="GtkButton" id="shaperextra_popover_close_button"> | ||
| <property name="icon-name">window-close-symbolic</property> | ||
| <style> | ||
| <class name="flat" /> | ||
| <class name="circular" /> | ||
| </style> | ||
| </object> | ||
| </child> | ||
| </object> | ||
| </child> | ||
|
|
||
| <!-- Highlighting --> | ||
| <child> | ||
| <object class="AdwPreferencesGroup"> | ||
| <property name="title" translatable="yes">Highlighting</property> | ||
| <child> | ||
| <object class="AdwSwitchRow" id="highlight_mode_row"> | ||
| <property name="title" translatable="yes">Highlight-Mode</property> | ||
| <property name="subtitle" translatable="yes">Fade active color</property> | ||
| </object> | ||
| </child> | ||
| <child> | ||
| <object class="AdwSpinRow" id="highlight_opacity_row"> | ||
| <property name="title" translatable="yes">Highlight-Opacity</property> | ||
| <property name="subtitle" translatable="yes">Modify the highlight opacity (%)</property> | ||
| <property name="adjustment"> | ||
| <object class="GtkAdjustment"> | ||
| <property name="lower">0</property> | ||
| <property name="upper">100</property> | ||
| <property name="value">50</property> | ||
| <property name="step-increment">1</property> | ||
| </object> | ||
| </child> | ||
| </property> | ||
| <property name="numeric">true</property> | ||
| <property name="digits">0</property> | ||
| </object> | ||
| </child> | ||
|
|
||
| <!-- Constraints --> | ||
| <child> | ||
| <object class="AdwPreferencesGroup"> | ||
| <property name="title" translatable="yes">Constraints</property> | ||
anesthetice marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| <child> | ||
| <object class="AdwSwitchRow" id="constraint_golden_row"> | ||
| <property name="title" translatable="yes">Golden Ratio (1:1.618)</property> | ||
| <object class="GtkListBox"> | ||
| <property name="width-request">300</property> | ||
| <property name="selection-mode">none</property> | ||
| <style> | ||
| <class name="content" /> | ||
| <class name="medium" /> | ||
| </style> | ||
| <child> | ||
| <object class="AdwSwitchRow" id="constraint_enabled_row"> | ||
| <property name="title" translatable="yes">Enabled</property> | ||
| <property name="subtitle" translatable="yes">Hold Ctrl to temporarily enable/disable | ||
| constraints when this switch is off/on</property> | ||
anesthetice marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| </object> | ||
| </child> | ||
| <child> | ||
| <object class="AdwSwitchRow" id="constraint_one_to_one_row"> | ||
| <property name="title" translatable="yes">1:1</property> | ||
| </object> | ||
| </child> | ||
| <child> | ||
| <object class="AdwSwitchRow" id="constraint_three_to_two_row"> | ||
| <property name="title" translatable="yes">3:2</property> | ||
| </object> | ||
| </child> | ||
| <child> | ||
| <object class="AdwSwitchRow" id="constraint_golden_row"> | ||
| <property name="title" translatable="yes">Golden Ratio (1:1.618)</property> | ||
| </object> | ||
| </child> | ||
| </object> | ||
| </child> | ||
| </object> | ||
| </child> | ||
|
|
||
anesthetice marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| </object> | ||
| </child> | ||
| </object> | ||
| </child> | ||
| </object> | ||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
anesthetice marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| <!-- Shape builder type --> | ||
| <object class="GtkPopover" id="shapebuildertype_popover"> | ||
| <child> | ||
|
|
@@ -319,4 +373,4 @@ constraints when this switch is off/on</property> | |
| </child> | ||
| </object> | ||
| </template> | ||
| </interface> | ||
| </interface> | ||
Doublonmousse marked this conversation as resolved.
Show resolved
Hide resolved
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.