-
Notifications
You must be signed in to change notification settings - Fork 23
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
[Tiled Menu] Design ideas and help request to implement them #137
Comments
The widget was moved to it's own repo: https://github.com/Zren/plasma-applet-tiledmenu I'll check this out tonight. |
Oh this isn't a typical feature request I see, you forked the widget! Awesome! I'll toss your code into a git branch to compare the changes. Your changes: Here's a few modifications I did:
In diff --git a/package/contents/ui/SidebarContextMenu.qml b/package/contents/ui/SidebarContextMenu.qml
index 7231d251..dbd32308 100644
--- a/package/contents/ui/SidebarContextMenu.qml
+++ b/package/contents/ui/SidebarContextMenu.qml
@@ -10,8 +10,8 @@ SidebarMenu {
id: sidebarContextMenu
visible: open
open: false
- anchors.left: parent.right
- anchors.bottom: parent.bottom
+ anchors.left: parent.left
+ anchors.top: parent.bottom
width: config.sidebarOpenWidth
height: childrenRect.height
z: 2
This is because the Instead of:
We should use
The code wasn't really designed or tested to do that though, so I'll fix that up for you. I'm actually in the middle of refactoring the sidebar code to support longer labels in the context menu which is needed for certain translations. Zren/plasma-applet-tiledmenu#37
|
Pretty much, yeah! I need to test further to see if I find any more bugs. |
Okay, so... The User and Power Menus has no background. The text appear over the categories. This and the Username disappeared totally here for me. I'll see what I can do. |
Oh right. I forgot to make it always "expanded" / "labelVisible" after refactoring that code. Zren/plasma-applet-tiledmenu@7b8bf8d Not sure about the backgrounds. I'll have to outline a few of the items to figure out why it's not showing but the text is. Rectangle { anchors.fill: parent; border.color: "#f00"; border.width: 1; color: "transparent"; } |
Does clicking the bottom-left corner of the screen open the menu? Or do you need to move the cursor right a little bit to open the menu? To see the boundaries of the icon in the panel, add a Rectangle that's transparent but with a red outline like so: // LauncherIcon.qml
MouseArea {
id: launcherIcon
// ...
Rectangle { anchors.fill: parent; border.color: "#f00"; border.width: 1; color: "transparent"; }
} |
That's an actual spacer for the panel. Doesn't have anything with the button. The actual clickable area is darker in that screenshot. My idea was to increase the width of the clickable area, so I can remove the spacer on the left. |
Huh, apparently I had some rectangles there already for debugging: In a panel, the You might need to set |
Okay, so... It's both a suggestion and proof of concept. I was thinking about giving Tiled Menu an alternative design, based on Windows RT 8.1 Update 3 and Windows Build 9860 Start Menus. Here's what I'm talking about:
![image](https://user-images.githubusercontent.com/39316730/52416819-a669e500-2ad1-11e9-80b0-d1f98dead0e6.png)
![image](https://user-images.githubusercontent.com/39316730/52416897-cdc0b200-2ad1-11e9-9e8e-bda1676c2987.png)
![image](https://user-images.githubusercontent.com/39316730/52416938-e0d38200-2ad1-11e9-9d91-2fbe9dfc3702.png)
But then I decided to try make it myself, using Tiled Menu. So what was originally this:
Has became this. And It's not an edited screenshot:
But here's some issues I'm having here. It's the first time I'm editing QML and I'm still new in Plasmoid development:
And here's the code, if someone wants to try fix the bugs I'm running into. If it work, I'm thinking about forking Tiled Menu into this version I'm trying to make.
com.github.zren.tiledmenu.tar.gz
The text was updated successfully, but these errors were encountered: