Welcome to NeoOffice developer notes and announcements
NeoOffice
Developer notes and announcements
 
 

This website is an archive and is no longer active
NeoOffice announcements have moved to the NeoOffice News website


Support
· Forums
· NeoOffice Support
· NeoWiki


Announcements
· Twitter @NeoOffice


Downloads
· Download NeoOffice


  
NeoOffice :: View topic - Genesis of the new weapons
Genesis of the new weapons
 
   NeoOffice Forum Index -> NeoOffice Development
View previous topic :: View next topic  
Author Message
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Sat May 20, 2006 2:32 pm    Post subject:

In the Stylist palette window, right click on a style and select "Modify". That will bring up a dialog with a multi-line tab.

Patrick
Back to top
ovvldc
Captain Naiobi


Joined: Sep 13, 2004
Posts: 2352
Location: Zürich, CH

PostPosted: Sun May 21, 2006 7:18 am    Post subject:

OPENSTEP wrote:
Oh, also, does anyone know offhand of a dialog in OOo/Neo that has multiple rows of tabs?


Text or Paragraph formatting?

_________________
"What do you think of Western Civilization?"
"I think it would be a good idea!"
- Mohandas Karamchand Gandhi
Back to top
OPENSTEP
The One
The One


Joined: May 25, 2003
Posts: 4752
Location: Santa Barbara, CA

PostPosted: Sun May 21, 2006 1:53 pm    Post subject:

Actually, it seems the majority of the text formatting dialogs in Writer, at least, only have one line of tabs. The stylist one Patrick suggested did have multiple lines of tabs, and man do they look goofy in the 10.3 style:



I'll look into exactly how the tabs are laid out, whether it's an overflow thing that's automatic in the tab control object or whether it's explicitly done in the dialog code itself. Since multiple rows of tab entries are sucn an anathema on OS X we'll just have to find a way to remove them somehow (abberviate text, make tab control wider to accommodate all text, etc.). For now I'll ignore the multiple tab lines and just focus on getting the basic controls working and then handle these other dialogs later.

ed
Back to top
doctype
Oracle


Joined: Dec 08, 2005
Posts: 291
Location: Berlin, Germany

PostPosted: Sun May 21, 2006 2:52 pm    Post subject:

OPENSTEP wrote:
Since multiple rows of tab entries are such an anathema on OS X we'll just have to find a way to remove them somehow (abbreviate text, make tab control wider to accommodate all text, etc.).

There's also the possibility of hiding the "overflow" behind an extra popup menu (see extra-button on the right, examples are from ArgoUML for Mac OS X, a Java App, please ignore the weird triangles) – although I'm not sure about the "usability"-aspect of such a solution: It always disorientates me, when such tabs are "moving" (that's for me the problem with multiline tabs, if you select one from the upper row, the complete row moves down and the whole tab order changes). Obviously, I identify (in short memory) a tab not only by its label, but also by its position.



Back to top
OPENSTEP
The One
The One


Joined: May 25, 2003
Posts: 4752
Location: Santa Barbara, CA

PostPosted: Sun May 21, 2006 3:05 pm    Post subject:

Well, the real idea for me is to try and find the change that is the least invasive. I shirk away from modifying OOo dialogs or controls for two main reasons: there are a *lot* of dialogs, and modified labels require custom translation. I don't know what road I'm going to go down yet which is why I'm going to punt on the multiple row issues for now.

Doing something where there's a custom button to handle a switch between rows or more available tabs is an option. The Ui guidelines used to do something like that for tab controls with a right/left arrow at the ends of the tab bar and that's definitely an option that may be worth exploring.

ed
Back to top
OPENSTEP
The One
The One


Joined: May 25, 2003
Posts: 4752
Location: Santa Barbara, CA

PostPosted: Sun May 21, 2006 3:10 pm    Post subject: tab separators

First stab at tab separators. Again, the code only works on 10.4 like the rest of the tab code:



Note the font bolding is also gone. Now I'll be moving onto trying to center these badboys.

ed
Back to top
sardisson
Town Crier
Town Crier


Joined: Feb 01, 2004
Posts: 4588

PostPosted: Sun May 21, 2006 3:42 pm    Post subject:

Lookin' good, Ed Smile

(Too bad I'll never see them in real life, but such are the bugs in HITheme Razz )

Smokey

_________________
"[...] whether the duck drinks hot chocolate or coffee is irrelevant." -- ovvldc and sardisson in the NeoWiki
Back to top
val1984
Oracle


Joined: May 30, 2005
Posts: 229
Location: France

PostPosted: Sun May 21, 2006 10:25 pm    Post subject:

Hello,
I checked out HEAD this week and compiled it but I didn't get any NWF Aqua widgets Confused
Was I supposed to do something special to get these?
Back to top
sardisson
Town Crier
Town Crier


Joined: Feb 01, 2004
Posts: 4588

PostPosted: Mon May 22, 2006 7:17 pm    Post subject:

val1984 wrote:
Hello,
I checked out HEAD this week and compiled it but I didn't get any NWF Aqua widgets Confused
Was I supposed to do something special to get these?

I've seen some reference to a requirement to enable them specifically, but I don't know the details.

Maybe set a variable like SHOW_ME_EDS_MAGIC=1 Wink

Smokey

_________________
"[...] whether the duck drinks hot chocolate or coffee is irrelevant." -- ovvldc and sardisson in the NeoWiki
Back to top
OPENSTEP
The One
The One


Joined: May 25, 2003
Posts: 4752
Location: Santa Barbara, CA

PostPosted: Mon May 22, 2006 8:06 pm    Post subject:

While the source for most of these is already in CVS, it is disabled in the main build since it's not even ready for preliminary testing and the CVS repository is being used to build various alpha releases at this time, so dangerous code gets taken out.

There are also other major issues with NWF and compilation support. Code won't compile on all machines, particularly on 10.3 in its current state. In fact, there really is no way to do the tabs on 10.3 along with other problems, so most likely NWF and the aqua widgets will be isolated to 10.4 only when all is said and done.

ed
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Mon May 22, 2006 9:15 pm    Post subject:

OPENSTEP wrote:
While the source for most of these is already in CVS, it is disabled in the main build since it's not even ready for preliminary testing and the CVS repository is being used to build various alpha releases at this time, so dangerous code gets taken out.


And, thankfully, Ed has been PMing me before he commits any changes so that I can verify that he has fully disabled this code in his commit as I am only building non-Aqua code these days (I'm still working on the non-Aqua Intel build for the start of the Intel EAP on June 5).

Patrick
Back to top
sardisson
Town Crier
Town Crier


Joined: Feb 01, 2004
Posts: 4588

PostPosted: Mon May 22, 2006 9:27 pm    Post subject:

OPENSTEP wrote:
In fact, there really is no way to do the tabs on 10.3 along with other problems, so most likely NWF and the aqua widgets will be isolated to 10.4 only when all is said and done.

Crying or Very sad

Smokey

_________________
"[...] whether the duck drinks hot chocolate or coffee is irrelevant." -- ovvldc and sardisson in the NeoWiki
Back to top
OPENSTEP
The One
The One


Joined: May 25, 2003
Posts: 4752
Location: Santa Barbara, CA

PostPosted: Mon May 22, 2006 9:47 pm    Post subject:

It was a real bummer to see that the APIs weren't there for tabs and the like in 10.3, but in limited trials there are also problems with buttons, checkboxes, etc. I may revisit 10.3 at a later date, but it's never going to be possible to get a fully functional implementation like on 10.4 since the Carbon APIs just aren't there Sad

ed
Back to top
OPENSTEP
The One
The One


Joined: May 25, 2003
Posts: 4752
Location: Santa Barbara, CA

PostPosted: Mon May 22, 2006 10:56 pm    Post subject: centered tabs

Well the tabs are now centered at the top of the control, so it's getting a bit more looking like normal:



The multiple tab rows are also being executed within VCL it seems, so if I get really crazy it may be possible to do the pager thing. I'm definitely going to punt on it for the time being since the splitting into multiple tab rows is performed solely based on pixel width. Changing the user interface font or, of course, different length tab names from different translations, may cause spillover into another row in any dialog in the application. Since this doesn't seem to be too common in the default English config I'll just revisit this at a later time.

Next up is going to see how to get the background rectangle drawing properly for the tab group. This is going to be interesting since, unlike other operating systems for which NWF is designed, on 10.3+ the tab background rectangle intersects the segmented controls at their vertical midpoint. Just about every other OS does the intersection at the vertical bottom endpoint, like 10.2 and those before it.

ed
Back to top
val1984
Oracle


Joined: May 30, 2005
Posts: 229
Location: France

PostPosted: Tue May 23, 2006 12:39 am    Post subject:

OPENSTEP wrote:
While the source for most of these is already in CVS, it is disabled in the main build since it's not even ready for preliminary testing and the CVS repository is being used to build various alpha releases at this time, so dangerous code gets taken out.

There are also other major issues with NWF and compilation support. Code won't compile on all machines, particularly on 10.3 in its current state. In fact, there really is no way to do the tabs on 10.3 along with other problems, so most likely NWF and the aqua widgets will be isolated to 10.4 only when all is said and done.

I would like to try even if it will make my screen explode and I am compiling under Tiger Wink
Back to top
Display posts from previous:   
   NeoOffice Forum Index -> NeoOffice Development All times are GMT - 7 Hours
Goto page Previous  1, 2, 3 ... 6, 7, 8 ... 25, 26, 27  Next
Page 7 of 27

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © Planamesa Inc.
NeoOffice is a registered trademark of Planamesa Inc. and may not be used without permission.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.