
Baghira Center Tab Alignment Patch
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
This small patch makes tabs in the Baghira style center-aligned, just like in MacOSX. It requires Qt 3.2.x. The attached screenshot is in KDE 3.2b1, but I think it'll work with KDE 3.1.4 (as long as you have Qt 3.2.x).. feedback would be appreciated.
To install:
1. Download and unpack Baghira source (available here)
2. Download patch, copy it to the baghira source folder (usually called mosfet-baghira)
3. Run this command: patch -p1 < middle_tabs.patch
4. Build as normal =) (instructions available in baghira docs)
ThEOnE
17 years ago
=)
Report
savannagrrl
17 years ago
Report
tomasz
17 years ago
(http://www.kde-look.org/content/show.php?content=7214)
Report
mthaler
17 years ago
very nice screenshot! Are you running Keith Packards XServer? The Window-Shadows look really cool and I saw some screenshots of Gnome with the new XServer from Keith and they look exactly like this.
Report
thomas12777
17 years ago
http://www.kde-look.org/content/show.php?content=5638
note that you'll have to patch and remake parts of kde.
HOwever i think it's allready part of kde 3.2 - but i'm not sure.
thomas
Report
clee
17 years ago
Take a look at the screenshot he uploaded earlier today. :)
-clee
Report
thomas12777
17 years ago
Also, it doesn't cause any errors with qt 3.1.2 here.
I allready mentioned, that qt should currently allow this, but noone flags it while ui design.
However, I'll have to make this flaggable, as it's really nice for two or three tabs on a dialog, but it looks really strange e.g. in konqueror.
I hope that more coders will use centerd aligned tabs in future, so that i can handle them buttoned and leave left or right aligned alone (oldstyled).
Thanks anyway for the first addition patch to my code. I am really proud like a young father! ;-)
Report
shm
17 years ago
great =)
> I allready mentioned, that qt should currently allow this, but noone flags it while ui design.
It's not the job of the app to- it's the job of the widget style plugin.
> However, I'll have to make this flaggable, as it's really nice for two or three tabs on a dialog, but it looks really strange e.g. in konqueror.
Hmmm.. weird.. it works fine in Konq 3.2's new tabwidget.
> so that i can handle them buttoned and leave left or right aligned alone (oldstyled).
You can do this already pretty much.
Report
thomas12777
17 years ago
Actually centered tabs work fine in all applications (also with qt 3.1.2) - it sometimes just looks a bit strange (i want my tab in konqueror to be left aligned)
So what i mean is:
the ui designer (coder) decides if he wants centered or left aligned tabs (e.g. only use centered tabs, if their amount is fixed and small)
then the design handles the tabs by alignment flag.
left aligned keep the old style.
ccentered aligned however are drawn as nice buttons in a sunken frame.
that's it.
but as qt-designer yet has not allowed to flag tabs to be centered (hope, that changed with 3.2) they're uncommon - what hopefully will change.
got me now? ;-)
Report
ThEOnE
17 years ago
Thanks ...
Report
shm
17 years ago
Report
thormedia
17 years ago
It's about time some people took over from where mosfet left off.
I would love to see x-render support being added to liquid.
Hopefully the likes of this will start the ball rolling again.
Keep up the great work
Regards
Miles.
Report
ntesa
17 years ago
Report