jothepro / doxygen-awesome-css

Custom CSS theme for doxygen html-documentation with lots of customization parameters.
https://jothepro.github.io/doxygen-awesome-css/
MIT License
981 stars 112 forks source link

Treeview Layout - Lowest level fromating. #35

Closed Darkblizzard21 closed 2 years ago

Darkblizzard21 commented 3 years ago

Hi, i recently build dox for a plugin with this nice css. But i found following problem:

The lowest level of the tree view is always at the right border of the tree view.

doxygen

I already fixed it for me locally by adding display: inline-block; to the .arrow section of the .css file. The the tree view looks as i expected:

doxygenbetter

I would make a pull request my self, but i don't have the right to do so.

Cheers - darkblizzard

jothepro commented 3 years ago

Given the fact that the problem doesn't seem to occur on the demo page, I am tempted to think that this may be a problem with your specific setup, or with an incompatible Doxygen configuration? Does this happen with all leafs in the navigation tree?

Bildschirmfoto 2021-07-14 um 10 10 40

The second screenshot that you posted raises a question to me: Is "DatamodelFeedback" really a subsection of "Datamodel Class Hierarchy"? Because the arrow in the blue rectangle indicates to me that the "Datamodel Class Hierarchy" tree is closed (►), which means it's children should not be visible. 🤔

Can you pls provide the following information about your setup?

I would make a pull request my self, but i don't have the right to do so.

You should be able to create a PR, if not I'll have to fix the repository configuration. :/ Can you describe what you tried to open a PR, or what gh is telling you why you're not allowed to do so?

Darkblizzard21 commented 3 years ago

Yes it happened to all leafs in my documentation.

The structure of the "Module: Balanceable Variables DataModel" page is the following:

@section datamodelLayers Datamodel Class Hierarchy

@subsection datamodelLayerOne IIDataModel

@subsection datamodelLayerTwo FDataModel

@subsection datamodelLayerThree FDataModelBackendLinked

@section datamodelFeedback DatamodelFeedback

@section datamodeloverviewvisual Complete Visual-Overview 

So my fix is not 100% clean, because the section with subsections is still on a different level than those without subsections.

My setup:

dmadison commented 3 years ago

Hi there. I was just testing this on a private repo and ran into the same problem. It turns out I accidentally placed the CSS link in the HTML_STYLESHEET field instead of the HTML_EXTRA_STYLESHEET field. I just downloaded your Doxyfile and it looks like you made the same mistake.

jothepro commented 2 years ago

@Darkblizzard21 does the response by @dmadison resolve your problem? Pls close this issue if it does.