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.
|
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... |
|