Home Forums Wiki Doc Install Extras Screenshots Source Code Projects Blog Users Groups Register
Glx-Dock / Cairo-Dock List of forums Ideas | Propositions GUI Resize Patch
The latest stable release is the *3.4.0* : How to install it here.
Note: We just switched from BZR to Git on Github! (only to host the code and your future pull requests)
Ideas | Propositions

Subjects Author Language Messages Last message
[Locked] GUI Resize Patch
SQP English 6 fabounet [Read]
26 March 2012 à 17:56

SQP, Monday 12 March 2012 à 19:16


Subscription date : 03 July 2010
Messages : 1081
Here is finally the new GUI patch. I hope there is no more bug, please test it thoroughly.

bzr pull lp:~sqp/cairo-dock-core/gui-flexible-behaviour

1018
GUI : Give flexible behaviour to many widgets when window is resized.
Fix many GUI glitches and give a better look to some pages.
-Widgets :
THEME_SELECTOR (theme load)
THEME_LIST_ENTRY (theme save)
THEME_LIST (gauge theme)
VIEW_LIST (docks view)
HANDBOOK
-Simple config module page
-Themes delete page.
-Shortcuts
-Items GUI : Special message for maindock 1
+System Page : Created an expanded frame on top for proxy.
+Icons mage : Expanded separators frame,
and moved 'Space between icons' from Zoom effect to Icons size group.


As many things are linked in our GUI system, I'm almost forced to propose a big patch. It can be splitted if really needed, but that would imply more work for me and you.

It start with a new key : CAIRO_DOCK_WIDGET_EMPTY_FULL='<' that display a full size empty box. This box allow me to fix the resize of the theme (x3), shortcuts, and simple module pages on vertical mode. This gives the user a better look on his GUI, and use scrollbars only when really needed.
Then I continue the changes on related widgets and all those that use the same code path (the preview box) to fix the resize on horizontal axis.

As GTK3 has auto-resized label widgets (text will auto wrap to allocated size), I removed the options to force label width in GTK3 mode. All windows and text resize the best they can. Only the images widgets still have direct size allocation but I still have to work on that part.

If validated, the Handbook changes will require to remove the frame declaration before the widget in all module config file.

Not directly related : I guess there will be some cleanup to do in themes descriptions to get something more consistant, like remove authors names, already displayed, and remove the () around links, as I allowed text selection (would be easier to select). Contact information could also be standardised at the end of text => global and gauge themes.

And now the screenshots. Made in GTK2 with an ugly theme that is nice to show frame display.
I can provide more if you want.

http://uppix.net/6/e/5/fd06ce2796dc89c2a6102349d5b36.png
http://uppix.net/7/b/9/a6eb0d1eec22f903fe8c5915f176c.png
http://uppix.net/4/4/7/ec9204f4432a0326ceea3491e9b0b.png

http://uppix.net/e/2/d/505431fb870d5ce58e95d7b93a1f7.png
http://uppix.net/9/1/e/214609d6fb737e82b9eeaf7ee679d.png

http://uppix.net/1/1/6/4431c0dc22893d6ad761b1ece60af.png
http://uppix.net/2/5/2/2ff0900690d0640ec8fa42aaca3e6.png

fabounet, Wednesday 14 March 2012 à 15:14


Subscription date : 30 November 2007
Messages : 17118
This box allow me to fix the resize of the theme (x3), shortcuts, and simple module pages on vertical mode. This gives the user a better look on his GUI, and use scrollbars only when really needed.

thumbs up on this one, I couldn't get a decent result so I'm very interested in your solution


If validated, the Handbook changes will require to remove the frame declaration before the widget in all module config file.

is it ok to display the image below on the first page of an applet's config ? I'm afraid it will be too high with all the other widgets.

I guess there will be some cleanup to do in themes descriptions to get something more consistant, like remove authors names, already displayed, and remove the () around links, as I allowed text selection (would be easier to select). Contact information could also be standardised at the end of text => global and gauge themes.

+1

overall a great job, thanks a lot. I'm (slowly) reading the code, hopefully it will get into the 3.0

matttbe, Wednesday 14 March 2012 à 17:03


Subscription date : 24 January 2009
Messages : 12573
I'm (slowly) reading the code
Ok can I let you merge this branch? Or do you prefer that I merge it into the trunk?

SQP, Thursday 15 March 2012 à 07:45


Subscription date : 03 July 2010
Messages : 1081
is it ok to display the image below on the first page of an applet's config ? I'm afraid it will be too high with all the other widgets.


The applet description displayed in simple GUI isn't the handbook. It's a dedicated preview box I almost didn't changed (same as themes load without author bar)

Handbook is now shipped with its frame. I forgot to put the screenshot here, but you found it on the next thread (it's image still on the right)

fabounet, Wednesday 21 March 2012 à 12:33


Subscription date : 30 November 2007
Messages : 17118
ok, thank you !
it will be pushed right after the 3.0 release (along with my changes on the simple GUI)

matttbe, Wednesday 21 March 2012 à 12:39


Subscription date : 24 January 2009
Messages : 12573
We can also delay the release
(for Ubuntu, I think we still have 3 weeks...)
It's just modifications about the GUI, not the core API. But yes, maybe there are other urgent things...

fabounet, Monday 26 March 2012 à 17:56


Subscription date : 30 November 2007
Messages : 17118
We can also delay the release

you're kidding right ?

but I'll try to push it asap, I didn't find any bug recently on the RC

Ideas | Propositions

Subjects Author Language Messages Last message
[Locked] GUI Resize Patch
SQP English 6 fabounet [Read]
26 March 2012 à 17:56


Glx-Dock / Cairo-Dock List of forums Ideas | Propositions GUI Resize Patch Top

Online users :

Powered by ElementSpeak © 2007 Adrien Pilleboue, 2009-2013 Matthieu Baerts.
Dock based on CSS Dock Menu (Ndesign) with jQuery. Icons by zgegball
Cairo-Dock is a free software under GNU-GPL3 licence. First stable version created by Fabounet.
Many thanks to TuxFamily for the web Hosting and Mav for the domain name.