! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
How can I scale up the icons in the quicklaunch window?
Status:
RESOLVED: MOVED
Product:
Xfdashboard
Component:
General

Comments

Description Rp 2020-02-11 05:15:53 CET
Created attachment 9438 
My current theme

Hi there, 
 
How can I scale up the icons in the quicklaunch window? 
 
I've just started my own theme to get something I would like, and then I'm reading this documentation: 
 
http://xfdashboard.froevel.de/theming.html
 
 
And, as of now, the quicklaunch icons are unfortunately very small (please see enclosed screenshot). 
 
Thanks a lot for your help! 
 
Best, 
Rp
Comment 1 Stephan Haller editbugs 2020-02-14 08:45:05 CET
Hi,

glad to hear you are trying to create your own theme but it's not easy to tell as I don't know your theme. I don't know how much space was assigned to the quicklaunch box and how your CSS looks like.

Please check your properties for the XfdashboardQuicklaunch widget in the layout file (usually xfdashboard.xml) and your CSS file according to http://xfdashboard.froevel.de/theming.html#theme-stylable-properties-XfdashboardQuicklaunch

The property "normal-icon-size" manages the unscaled size of the icons in the quicklaunch box. The default value is 1px (pixel) and if I look at the attached image I think you have already set this properties to a higher value. Please keep in mind that this properties defines the *unscaled* size of the icons. The icons will be scaled down if they do not fit into the quicklaunch box anymore. That means the more icons you have in the quicklaunch the more likely they do not fit into the qucklaunch's box space and they need to be scaled down to fit again.

Regards
Stephan
Comment 2 Rp 2020-02-17 22:06:24 CET
Created attachment 9468 
Layout configuration file
Comment 3 Rp 2020-02-17 22:14:11 CET
Hi Stephan, 
 
Thanks a lot for your help. 
 
Yes, I forgot to enclose the configuration file - my fault - sorry about that. Please find it enclosed. 
 
Basically, I removed everything except the quick-launch bar to have it screen wide. And I would like large icons to click on. 
 
Here is the quicklaunch section of the layout file: 
--
					<object class="XfdashboardQuicklaunch" id="quicklaunch">
						<property name="can-focus">true</property>
						<property name="orientation">horizontal</property>
						<property name="x-expand">true</property>
						<property name="y-expand">true</property>
						<property name="homogeneous">true</property>
						<property name="normal-icon-size">128</property>
					</object>
--
 
So I tried the 'normal-icon-size' property, but nothing changed. 
 
And as the screenshot shows, I still have a lot of space above, on the right, and below. 
 
So I am not sure what I am doing wrong. 
 
Thanks a lot for your work! 
 
Best regards, 
Rp
Comment 4 Stephan Haller editbugs 2020-02-18 12:33:01 CET
Created attachment 9469 
Your layout file overriding the layout file of xfdahboard-blue
Comment 5 Stephan Haller editbugs 2020-02-18 12:33:33 CET
Hi,

I copied the theme "xfdashboard-blue" and replaced the layout file "xfdashboard.xml" with your version and ... what should I say? It looks like expected. Very big icons which fit into screen as you can see at my attached screenshot.

If the space filled by the quicklaunch is okay but "only" the icon size is incorrect, have you checked your CSS file if it overrides the property "normal-icon-size" of your quicklaunch? CSS files have higher priority as the layout file.

Regards,
Stephan
Comment 6 Rp 2020-02-18 14:39:13 CET
Created attachment 9471 
Full theme
Comment 7 Rp 2020-02-18 14:41:26 CET
Created attachment 9472 
Screenshot: icons got smaller
Comment 8 Rp 2020-02-18 14:45:53 CET
Hi Stephan, 
 
Thank you for your help. 
 
Ok, I did miss the line 
 
   @import(xfdashboard.css)

in the CSS file. 
 
So I edited it to remove all references to icon-size. 
 
Unfortunately, the icons even got smaller (screenshot enclosed). I am doing something wrong, but I do not know what. So I attached the full theme. 
 
Thanks a lot for your help. 
 
Best regards, 
Rp
Comment 9 Stephan Haller editbugs 2020-02-18 14:58:01 CET
Hi,

short question: Which version of xfdashboard do you use?

Regards,
Stephan
Comment 10 Rp 2020-02-18 16:36:53 CET
The one provided by the package system: 0.6.1 
 
If we can't make it work, it's alright. It's just that I find dashboards more convenient than menus. 
 
Thanks a lot!
Comment 11 Git Bot editbugs 2020-05-24 17:23:57 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/apps/xfdashboard/-/issues/2.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #16443

Reported by:
Rp
Reported on: 2020-02-11
Last modified on: 2020-05-24

People

Assignee:
Stephan Haller
CC List:
1 user

Version

Version:
unspecified

Attachments

My current theme (31.23 KB, image/png)
2020-02-11 05:15 CET , Rp
no flags
Layout configuration file (4.33 KB, text/plain)
2020-02-17 22:06 CET , Rp
no flags
Your layout file overriding the layout file of xfdahboard-blue (419.42 KB, image/png)
2020-02-18 12:33 CET , Stephan Haller
no flags
Full theme (4.16 KB, application/gzip)
2020-02-18 14:39 CET , Rp
no flags
Screenshot: icons got smaller (32.90 KB, image/png)
2020-02-18 14:41 CET , Rp
no flags

Additional information