gbaychev / NClass

NClass - the free UML editor, reloaded
GNU General Public License v3.0
172 stars 50 forks source link

Improved dialogs #51

Closed Baltasarq closed 4 years ago

Baltasarq commented 4 years ago

This is a modification of two dialogs that needed more size and better placement.

options_dialog pdf_export_options_dialog

PDFExportOptions:

OptionsDialog:

Baltasarq commented 4 years ago

OptionsDialog

Fixed. The resizing was done in the designer, and the minimum size was put in the OptionsDialog.cs file. This is totally compatible with the designer in the future.

gbaychev commented 4 years ago

Great, thank you once more!

Baltasarq commented 4 years ago

There is still a dialog missing: PDFExportFinished. The problem is that I'm unable to compile NClass anymore.

$ xbuild PDFExport/PDFExport.csproj
NClassFontResolver.cs(17,7): error CS0246: The type or namespace name 'PdfSharp' could not be found (are you missing a using directive or an assembly reference?)
...
PDFGraphics.cs(446,24): error CS0246: The type or namespace name 'XGraphicsPath' could not be found (are you missing a using directive or an assembly reference?)
PDFGraphics.cs(446,24): error CS0246: The type or namespace name 'XGraphicsPath' could not be found (are you missing a using directive or an assembly reference?)

It seems I'm missing PDFSharp (that did not happen before, I only have NReflect), and X-something. What do I have to do to have to include and how, in order to get the executable?

gbaychev commented 4 years ago

Yes, I needed to switch from PdfSharp to PDFsharp-gdi nuget package. You need to restore your nuget packages (at least of the PdfExport project), visual studio does this automatically, but I don't know if/which IDE you use.

Baltasarq commented 4 years ago

Yes, I needed to switch from PdfSharp to PDFsharp-gdi nuget package. You need to restore your nuget packages (at least of the PdfExport project), visual studio does this automatically, but I don't know if/which IDE you use.

I fixed that installing nuget CLI and executing nuget restore. Right now I am without IDE, since Rider has stopped working for mono projects.