You are not logged in.
Pages: 1
Hey I figured out a way to change my icon size on the panel with the help of ToZ! Which is editing my gtk.css
But I can't seem to adjust it so it will be the same size of the audio one... It always seems to be rounding and makes it really big...
My gtk.css
pulseaudio-button { padding: 2px 2px; }
#xfce4-power-manager-plugin { padding: 2px 2px; }
I want the battery icon to be the same size of the audio one... using cm as a measurement sometimes rounds really weirdly.
Thanks for any help!
Last edited by Deleted5 (2017-02-13 03:19:49)
Offline
They look the same size to me. Where are you seeing that they are not?
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Well I just want it to be a little bit bigger so that the top of the battery icon matches to the top of the audio and also the bottom of the battery icon matches with the bottom of the audio. Its just me being picky! XD
Offline
You might not be able to get it exact without editing the icon files. You said you tried cm measurement units. Have you tried the others to see if they are more precise? See: https://www.tutorialspoint.com/css/css_ … _units.htm.
Also, to properly identify the pulseaudio widget in the css file, you need to prefix it with a '#':
#pulseaudio-button { padding: 2px 2px; }
#xfce4-power-manager-plugin { padding: 2px 2px; }
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
ToZ Ok I'll try that tutorial! And yes, I accidentally forgot to include the "#" when copy pasting!
Offline
No dice... I think HTML css will work... Isn't there a special GTK css?
Offline
As far as I know, GTK3 uses the same measurements. See: https://developer.gnome.org/gtk3/stable … rties.html.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Hmm.... Is there anything about rounding of measurements, because I think thats happening to me...
Offline
Which distro are you using again? And more importantly, which version of GTK3?
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
I am using Arch and how exactly do I search up my version of GTK?
Offline
Actually ToZ, because xfce4-volumed-pulse worked for me I don't have to use xfce4-pulseaudio-plugin... So I just have my battery plugin... So I don't have to worry about making the size perfect! 2 birds in one stone!
Marking as SOLVED
Offline
CSS stands for Cascading Style Sheets. CSS was invited by Hakon Wium Lie on October 10, 1994 and maintained through a group of people within the W3C called the CSS Working Group. The CSS Working Group creates documents called specifications. When a specification has been discussed and officially ratified by W3C members, it becomes a recommendation. css tutorials pdf CSS is used to define styles for your web pages, including the design, layout and variations in display for different devices and screen sizes. CSS describes how HTML elements are to be displayed on screen, paper, or in other media. CSS is easy to learn and understand but it provides powerful control over the presentation of an HTML document. Most commonly, CSS is combined with the markup languages HTML or XHTML.
CSS files are termed “cascading” stylesheets because of two reasons: one stylesheet can cascade, or have influence over, multiple pages. Similarly, many CSS files can define a single page. We can apply CSS in 3 ways such as Internal CSS, Inline CSS and External CSS.
CSS is designed primarily to enable the separation of document content from document presentation, including aspects such as the layout, colors, and fonts. This separation can improve content accessibility, provide more flexibility and control in the specification of presentation characteristics, enable multiple HTML pages to share formatting by specifying the relevant CSS in a separate .css file, and reduce complexity and repetition in the structural content. Separation of formatting and content makes it possible to present the same markup page in different styles. https://en.wikipedia.org/wiki/Cascading_Style_Sheets
Offline
This is does not really answer my question, and anyways I already solved this question. But thank you for the information!
Offline
Pages: 1
[ Generated in 0.010 seconds, 7 queries executed - Memory usage: 566.65 KiB (Peak: 583.93 KiB) ]