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

Style-preview: Add scroll buttons #11039

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Darshan-upadhyay1110
Copy link
Contributor

  • added scroll up and down btn for stylepreview in notebookbar
  • added 'more' button option which is a toggle button opens the stylist

Change-Id: I230ddefe3cb68dad3ba46b12eaabb12e99bad6db

Summary

TODO

  • ...

Checklist

  • I have run make prettier-write and formatted the code.
  • All commits have Change-Id
  • I have run tests with make check
  • I have issued make run and manually verified that everything looks okay
  • Documentation (manuals or wiki) has been updated or is not required

@Darshan-upadhyay1110
Copy link
Contributor Author

#10998 is partially done

Copy link
Contributor

@eszkadev eszkadev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

really nice - no custom iconview widget :)

@eszkadev
Copy link
Contributor

It should go in together with: #11040
(make style sidebar non-experimental)

@Darshan-upadhyay1110 Darshan-upadhyay1110 force-pushed the private/darshan/add-scroll-btns-in-stylepreview branch from a4490ad to 75df47c Compare January 29, 2025 11:32
- added scroll up and down btn for stylepreview in notebookbar
- added 'more' button option which is a toggle button opens the stylist

Signed-off-by: Darshan-upadhyay1110 <[email protected]>
Change-Id: I230ddefe3cb68dad3ba46b12eaabb12e99bad6db
@Darshan-upadhyay1110 Darshan-upadhyay1110 force-pushed the private/darshan/add-scroll-btns-in-stylepreview branch from 75df47c to 1b80927 Compare January 30, 2025 06:47
Copy link
Contributor

@pedropintosilva pedropintosilva left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it works, Thanks!

Also please use more minimal buttons for the scroll up and down (example: search up and down buttons)

@@ -387,7 +387,7 @@ html[data-theme='dark'] .savemodified.unotoolbutton .unobutton img {
/* Styles preview */

#stylesview {
height: 64px;
height: 66px;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was wondering why this needed to be changed?

border-top-right-radius: var(--border-radius);
border-bottom-right-radius: var(--border-radius);
height: 66px;
margin-left: -5px;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we use margin-inline-start instead?

Comment on lines +424 to +425
width: var(--btn-img-size-m) !important;
height: var(--btn-img-size-m) !important;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The icons need white space to breath around them. Can we use -s instead?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

Deeper Style UI: Run in dialog not sidebar
3 participants