fix stylesheet
This commit is contained in:
parent
97767241e4
commit
0980306f2a
|
@ -189,7 +189,9 @@ WinEDA_NetlistFrame::WinEDA_NetlistFrame( WinEDA_SchematicFrame* parent ) :
|
||||||
SetSizer( GeneralBoxSizer );
|
SetSizer( GeneralBoxSizer );
|
||||||
|
|
||||||
m_NoteBook = new wxNotebook( this, ID_NETLIST_NOTEBOOK,
|
m_NoteBook = new wxNotebook( this, ID_NETLIST_NOTEBOOK,
|
||||||
wxDefaultPosition, wxDefaultSize );
|
wxDefaultPosition, wxDefaultSize,
|
||||||
|
wxNB_TOP ); // @todo: tabs on top are being hidden on linux
|
||||||
|
|
||||||
GeneralBoxSizer->Add( m_NoteBook, 0, wxGROW | wxALL, 5 );
|
GeneralBoxSizer->Add( m_NoteBook, 0, wxGROW | wxALL, 5 );
|
||||||
|
|
||||||
// Add notebook pages:
|
// Add notebook pages:
|
||||||
|
@ -229,6 +231,7 @@ WinEDA_NetlistFrame::WinEDA_NetlistFrame( WinEDA_SchematicFrame* parent ) :
|
||||||
|
|
||||||
// GetSizer()->Fit( this );
|
// GetSizer()->Fit( this );
|
||||||
GetSizer()->SetSizeHints( this );
|
GetSizer()->SetSizeHints( this );
|
||||||
|
|
||||||
Centre();
|
Centre();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -20,14 +20,15 @@
|
||||||
|
|
||||||
<!-- for each component -->
|
<!-- for each component -->
|
||||||
<xsl:template match="comp">
|
<xsl:template match="comp">
|
||||||
|
<xsl:text> </xsl:text>
|
||||||
<xsl:value-of select="@ref"/>
|
<xsl:value-of select="@ref"/>
|
||||||
<xsl:text> </xsl:text>
|
<xsl:text> </xsl:text>
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
<xsl:when test = "footprint = ''">
|
<xsl:when test = "footprint != '' ">
|
||||||
<xsl:text>unknown</xsl:text>
|
<xsl:apply-templates select="footprint"/>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
<xsl:otherwise>
|
<xsl:otherwise>
|
||||||
<xsl:apply-templates select="footprint"/>
|
<xsl:text>unknown</xsl:text>
|
||||||
</xsl:otherwise>
|
</xsl:otherwise>
|
||||||
</xsl:choose>
|
</xsl:choose>
|
||||||
<xsl:text>&nl;</xsl:text>
|
<xsl:text>&nl;</xsl:text>
|
||||||
|
|
Loading…
Reference in New Issue